about summary refs log tree commit diff
path: root/modules/vim.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-07-21 20:07:08 +0300
committerAzat Bahawi <azat@bahawi.net>2024-07-21 20:07:08 +0300
commitb33b1ea8ef5d5511e34fed41ad9a8199d0d58331 (patch)
tree9195b87cbfc135a85b56f0a415efa23e504f8c40 /modules/vim.nix
parent2024-07-14 (diff)
2024-07-21
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