Add gitui as non-flake input to bring vim binds back

This commit is contained in:
Evie Litherland-Smith 2023-09-17 08:57:08 +01:00
parent e4f6823aa7
commit 62c06dae9e
3 changed files with 24 additions and 2 deletions

View file

@ -144,6 +144,22 @@
"type": "github"
}
},
"gitui": {
"flake": false,
"locked": {
"lastModified": 1694608735,
"narHash": "sha256-ik9mifQFg/GcYRW4m124COdgfpKRO5hbSDxO9yu77gU=",
"owner": "extrawurst",
"repo": "gitui",
"rev": "8775fec9fa106280cdf2f4bca62284154596e0b0",
"type": "github"
},
"original": {
"owner": "extrawurst",
"repo": "gitui",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -240,6 +256,7 @@
"catppuccin-zathura": "catppuccin-zathura",
"catppuccin-zsh": "catppuccin-zsh",
"doom-emacs": "doom-emacs",
"gitui": "gitui",
"home-manager": "home-manager",
"hyprland": "hyprland",
"nixpkgs": "nixpkgs",

View file

@ -21,6 +21,10 @@
url = "git+https://git.xenia.me.uk/xenia/wallpapers.git";
flake = false;
};
gitui = {
url = "github:extrawurst/gitui";
flake = false;
};
catppuccin-alacritty = {
url = "github:catppuccin/alacritty";
flake = false;
@ -106,7 +110,7 @@
};
extraSpecialArgs = specialArgs // {
inherit wallpapers catppuccin-themes;
inherit (inputs) doom-emacs;
inherit (inputs) doom-emacs gitui;
};
commonModule = {
nix = {

View file

@ -1,4 +1,4 @@
{ lib, pkgs, catppuccin-themes, ... }: {
{ lib, pkgs, catppuccin-themes, gitui, ... }: {
programs = {
git = {
enable = true;
@ -23,6 +23,7 @@
};
gitui = {
enable = true;
keyConfig = builtins.readFile "${gitui}/vim_style_key_config.ron";
theme = builtins.readFile catppuccin-themes.gitui;
};
bat = {