diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-12-06 07:47:58 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-12-06 07:47:58 +0000 |
commit | 3679af4a6cce86235163e67b1216bec1252dd4b5 (patch) | |
tree | 106e7804a89fce0df521c8386dccc7ca0129926d | |
parent | 8e5cbef8b1c60cc14a87b67b8bbe43638c2ce35b (diff) | |
download | dotfiles-3679af4a6cce86235163e67b1216bec1252dd4b5.tar.gz |
Fix defaultEditor warning
-rw-r--r-- | nix-conf/machines/djmuk1/configuration.nix | 5 | ||||
-rw-r--r-- | nix-conf/machines/djmuk2/configuration.nix | 5 | ||||
-rw-r--r-- | nix-conf/machines/edrahil/configuration.nix | 5 | ||||
-rw-r--r-- | nix-conf/machines/egalmoth/configuration.nix | 5 |
4 files changed, 16 insertions, 4 deletions
diff --git a/nix-conf/machines/djmuk1/configuration.nix b/nix-conf/machines/djmuk1/configuration.nix index be45319..63753f7 100644 --- a/nix-conf/machines/djmuk1/configuration.nix +++ b/nix-conf/machines/djmuk1/configuration.nix @@ -66,7 +66,10 @@ programs.zsh.enable = true; - programs.vim.defaultEditor = true; + programs.vim = { + enable = true; + defaultEditor = true; + }; environment.systemPackages = with pkgs; [ #procmail diff --git a/nix-conf/machines/djmuk2/configuration.nix b/nix-conf/machines/djmuk2/configuration.nix index a84ddf8..cd3c94c 100644 --- a/nix-conf/machines/djmuk2/configuration.nix +++ b/nix-conf/machines/djmuk2/configuration.nix @@ -74,7 +74,10 @@ programs.zsh.enable = true; - programs.vim.defaultEditor = true; + programs.vim = { + enable = true; + defaultEditor = true; + }; environment.systemPackages = with pkgs; [ #procmail diff --git a/nix-conf/machines/edrahil/configuration.nix b/nix-conf/machines/edrahil/configuration.nix index 2054253..dc5d667 100644 --- a/nix-conf/machines/edrahil/configuration.nix +++ b/nix-conf/machines/edrahil/configuration.nix @@ -177,7 +177,10 @@ programs.zsh.enable = true; - programs.vim.defaultEditor = true; + programs.vim = { + enable = true; + defaultEditor = true; + }; environment.etc = { "restic-environment" = { diff --git a/nix-conf/machines/egalmoth/configuration.nix b/nix-conf/machines/egalmoth/configuration.nix index 21b7d23..6493e23 100644 --- a/nix-conf/machines/egalmoth/configuration.nix +++ b/nix-conf/machines/egalmoth/configuration.nix @@ -220,7 +220,10 @@ enableSSHSupport = true; }; - programs.vim.defaultEditor = true; + programs.vim = { + enable = true; + defaultEditor = true; + }; services.openssh.enable = true; |