diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-11-16 20:42:41 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-11-16 20:42:41 +0000 |
commit | 6ec3cea36d9950bb74ae1a2951d47dd26f5488de (patch) | |
tree | b4fc67cac4f9ff3a42a914b31b1a7d049a9c432b /nix-conf/machines | |
parent | dc132ac1acd4d8b65b6240ec9c181d70066205ae (diff) | |
download | dotfiles-6ec3cea36d9950bb74ae1a2951d47dd26f5488de.tar.gz |
Use programs.vim.defaultEditor everywhere
Diffstat (limited to 'nix-conf/machines')
-rw-r--r-- | nix-conf/machines/djmuk1/configuration.nix | 3 | ||||
-rw-r--r-- | nix-conf/machines/djmuk2/configuration.nix | 3 | ||||
-rw-r--r-- | nix-conf/machines/egalmoth/configuration.nix | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/nix-conf/machines/djmuk1/configuration.nix b/nix-conf/machines/djmuk1/configuration.nix index 74e252a..305f45f 100644 --- a/nix-conf/machines/djmuk1/configuration.nix +++ b/nix-conf/machines/djmuk1/configuration.nix @@ -54,12 +54,13 @@ extraRules = [ { users = [ "djm" ]; noPass = true; keepEnv = true; } ]; }; + programs.vim.defaultEditor = true; + environment.systemPackages = with pkgs; [ #procmail vim wget ]; - environment.variables = { EDITOR = "vim"; VISUAL = "vim"; }; nix.trustedUsers = [ "root" "djm" ]; diff --git a/nix-conf/machines/djmuk2/configuration.nix b/nix-conf/machines/djmuk2/configuration.nix index d115655..fcde201 100644 --- a/nix-conf/machines/djmuk2/configuration.nix +++ b/nix-conf/machines/djmuk2/configuration.nix @@ -55,13 +55,14 @@ extraRules = [ { users = [ "djm" ]; noPass = true; keepEnv = true; } ]; }; + programs.vim.defaultEditor = true; + environment.systemPackages = with pkgs; [ #procmail git vim wget ]; - environment.variables = { EDITOR = "vim"; VISUAL = "vim"; }; nix.trustedUsers = [ "root" "djm" ]; diff --git a/nix-conf/machines/egalmoth/configuration.nix b/nix-conf/machines/egalmoth/configuration.nix index d9e239f..2988e7d 100644 --- a/nix-conf/machines/egalmoth/configuration.nix +++ b/nix-conf/machines/egalmoth/configuration.nix @@ -181,6 +181,8 @@ in enableSSHSupport = true; }; + programs.vim.defaultEditor = true; + services.openssh.enable = true; system.stateVersion = "21.05"; # Did you read the comment? |