about summary refs log tree commit diff
path: root/modules/vim.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/vim.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/vim.nix b/modules/vim.nix
index 7209e8b..ecd1336 100644
--- a/modules/vim.nix
+++ b/modules/vim.nix
@@ -16,6 +16,8 @@ in
     hm.stylix.targets.vim.enable = false;
 
     programs.vim = {
+      enable = true;
+      defaultEditor = true;
       package = mkIf this.isHeadful (
         pkgs.vim-full.customize {
           name = "vim";
@@ -201,8 +203,6 @@ in
           };
         }
       );
-
-      defaultEditor = true;
     };
   };
 }

Consider giving Nix/NixOS a try! <3