From 7a2aeaef9829015e450799ab9cff725950ba7924 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Thu, 23 Dec 2021 11:05:14 +0100 Subject: [PATCH] Refactoring of default editor --- base.nix | 11 +++++++++++ machines/macintosh/default.nix | 10 ---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/base.nix b/base.nix index 87447b1..ff7e28c 100644 --- a/base.nix +++ b/base.nix @@ -24,4 +24,15 @@ programs.mosh.enable = true; programs.gnupg.agent.enable = true; + environment.systemPackages = with pkgs; [ + wget + rxvt_unicode + xorg.xbacklight + neovim + ]; + + environment.variables.EDITOR = "nvim"; + + + } diff --git a/machines/macintosh/default.nix b/machines/macintosh/default.nix index 3585c1b..59a7590 100644 --- a/machines/macintosh/default.nix +++ b/machines/macintosh/default.nix @@ -51,16 +51,6 @@ }; - - environment.systemPackages = with pkgs; [ - wget - rxvt_unicode - xorg.xbacklight - neovim - ]; - - environment.variables.EDITOR = "nvim"; - programs.dconf.enable = true; system.stateVersion = "21.11";