Add old neovim config for the time being

This commit is contained in:
Dragyx 2024-04-13 15:29:56 +02:00
commit 20beb4df31
3 changed files with 4 additions and 3 deletions

View file

@ -3,5 +3,6 @@ _: {
./git.nix ./git.nix
./starship.nix ./starship.nix
./zsh.nix ./zsh.nix
./neovim.nix
]; ];
} }

View file

@ -7,11 +7,11 @@ let
rev = "d799724f48199d81ca6c8abb5951860fbf8fa0df"; rev = "d799724f48199d81ca6c8abb5951860fbf8fa0df";
hash = "sha256-NF92CweRFQ1qZS8NXoTUEljazRGXgXS2AuDt5IWmwBc="; hash = "sha256-NF92CweRFQ1qZS8NXoTUEljazRGXgXS2AuDt5IWmwBc=";
}; };
cfg = config.modules.neovim-old; cfg = config.modules.programs.neovim-old;
username = config.modules.other.system.username; username = config.modules.other.system.username;
in in
{ {
options.modules.cli.neovim-old = lib.mkEnableOption "neovim-old"; options.modules.programs.neovim-old.enable = lib.mkEnableOption "neovim-old";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home-manager.users.${username} = { home-manager.users.${username} = {
@ -31,5 +31,5 @@ in
}; };
} };
} }

0
modules/gui/rofi.nix Normal file
View file