diff options
author | Alan Pearce | 2020-12-31 21:47:47 +0100 |
---|---|---|
committer | Alan Pearce | 2021-01-12 21:03:31 +0100 |
commit | 4d230ecf19a7709d8fabdd1cae155057215576d0 (patch) | |
tree | 4990bfa9a7a43a0333b7b65f020fb625e70e60ab /system/settings | |
parent | 718ebf3e3fe216f88308b8cb44266cbb97b78e8a (diff) | |
download | nixfiles-4d230ecf19a7709d8fabdd1cae155057215576d0.tar.lz nixfiles-4d230ecf19a7709d8fabdd1cae155057215576d0.tar.zst nixfiles-4d230ecf19a7709d8fabdd1cae155057215576d0.zip |
Extract always-requested system packages to module
Diffstat (limited to 'system/settings')
-rw-r--r-- | system/settings/base.nix | 7 | ||||
-rw-r--r-- | system/settings/programs/base.nix | 10 |
2 files changed, 10 insertions, 7 deletions
diff --git a/system/settings/base.nix b/system/settings/base.nix index 2c7f61dc..d103639c 100644 --- a/system/settings/base.nix +++ b/system/settings/base.nix @@ -6,13 +6,6 @@ ]; boot.loader.timeout = lib.mkDefault 1; - environment.systemPackages = with pkgs; [ - nix-index - cachix - vim - zstd - ]; - programs.zsh = { histFile = "\${XDG_DATA_HOME}/zsh/history"; }; diff --git a/system/settings/programs/base.nix b/system/settings/programs/base.nix new file mode 100644 index 00000000..edc98c94 --- /dev/null +++ b/system/settings/programs/base.nix @@ -0,0 +1,10 @@ +{ pkgs, ...}: + +{ + environment.systemPackages = with pkgs; [ + nix-index + cachix + vim + zstd + ]; +} |