From 1621638883961cdb88ae88bf41257f40d51173f4 Mon Sep 17 00:00:00 2001 From: Dragyx <66752602+Dragyx@users.noreply.github.com> Date: Sat, 13 Apr 2024 15:29:56 +0200 Subject: [PATCH] Add old neovim config for the time being --- modules/cli/default.nix | 1 + modules/cli/neovim.nix | 6 +++--- modules/gui/rofi.nix | 0 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 modules/gui/rofi.nix diff --git a/modules/cli/default.nix b/modules/cli/default.nix index 1e43012..117462f 100644 --- a/modules/cli/default.nix +++ b/modules/cli/default.nix @@ -3,5 +3,6 @@ _: { ./git.nix ./starship.nix ./zsh.nix + ./neovim.nix ]; } diff --git a/modules/cli/neovim.nix b/modules/cli/neovim.nix index 011697a..1b4b503 100644 --- a/modules/cli/neovim.nix +++ b/modules/cli/neovim.nix @@ -7,11 +7,11 @@ let rev = "d799724f48199d81ca6c8abb5951860fbf8fa0df"; hash = "sha256-NF92CweRFQ1qZS8NXoTUEljazRGXgXS2AuDt5IWmwBc="; }; - cfg = config.modules.neovim-old; + cfg = config.modules.programs.neovim-old; username = config.modules.other.system.username; 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 { home-manager.users.${username} = { @@ -31,5 +31,5 @@ in }; - } + }; } diff --git a/modules/gui/rofi.nix b/modules/gui/rofi.nix new file mode 100644 index 0000000..e69de29