summary refs log tree commit diff
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2018-10-27 13:42:03 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2018-10-27 15:17:13 +0300
commitcc92fc0a83690767d7dd397f2bba07872613e08d (patch)
tree2301def2c0059298f81057492feb0dce517265df /nixos/modules/profiles
parentf4c02202cadcb6dc690a5bd3f5bf9101ffe7b0db (diff)
downloadnixpkgs-cc92fc0a83690767d7dd397f2bba07872613e08d.tar
nixpkgs-cc92fc0a83690767d7dd397f2bba07872613e08d.tar.gz
nixpkgs-cc92fc0a83690767d7dd397f2bba07872613e08d.tar.bz2
nixpkgs-cc92fc0a83690767d7dd397f2bba07872613e08d.tar.lz
nixpkgs-cc92fc0a83690767d7dd397f2bba07872613e08d.tar.xz
nixpkgs-cc92fc0a83690767d7dd397f2bba07872613e08d.tar.zst
nixpkgs-cc92fc0a83690767d7dd397f2bba07872613e08d.zip
nixos/installation-device: Move systemPackages additions to profiles/base
Other package additions are there as well.
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/base.nix3
-rw-r--r--nixos/modules/profiles/installation-device.nix3
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 = "";
   };