From 3679af4a6cce86235163e67b1216bec1252dd4b5 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Fri, 6 Dec 2024 07:47:58 +0000 Subject: Fix defaultEditor warning --- nix-conf/machines/djmuk1/configuration.nix | 5 ++++- nix-conf/machines/djmuk2/configuration.nix | 5 ++++- nix-conf/machines/edrahil/configuration.nix | 5 ++++- 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; -- cgit 1.4.1-2-gfad0