From cc92fc0a83690767d7dd397f2bba07872613e08d Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sat, 27 Oct 2018 13:42:03 +0300 Subject: [PATCH] nixos/installation-device: Move systemPackages additions to profiles/base Other package additions are there as well. --- nixos/modules/profiles/base.nix | 3 +++ nixos/modules/profiles/installation-device.nix | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/profiles/base.nix b/nixos/modules/profiles/base.nix index 3f2c420a2be..7e14b0e2114 100644 --- a/nixos/modules/profiles/base.nix +++ b/nixos/modules/profiles/base.nix @@ -19,6 +19,9 @@ pkgs.cryptsetup # needed for dm-crypt volumes pkgs.mkpasswd # for generating password files + # Some text editors. + pkgs.vim + # Some networking tools. pkgs.fuse pkgs.fuse3 diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix index d51ed195580..370db2b0845 100644 --- a/nixos/modules/profiles/installation-device.nix +++ b/nixos/modules/profiles/installation-device.nix @@ -87,9 +87,6 @@ with lib; # console less cumbersome if the machine has a public IP. networking.firewall.logRefusedConnections = mkDefault false; - environment.systemPackages = [ pkgs.vim ]; - - # Allow the user to log in as root without a password. users.users.root.initialHashedPassword = ""; };