diff options
| author | Fuwn <[email protected]> | 2024-10-28 09:50:19 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-28 09:50:19 -0700 |
| commit | 44d38b896c443751df7818510b95bcc6a6b2dbc8 (patch) | |
| tree | 94463efb238b8087b9c26330de4141492a490c6f | |
| parent | kioku: use primaryUser option from options (diff) | |
| download | nixos-config-44d38b896c443751df7818510b95bcc6a6b2dbc8.tar.xz nixos-config-44d38b896c443751df7818510b95bcc6a6b2dbc8.zip | |
core: move simple programs to core
| -rw-r--r-- | hosts/kioku/configuration.nix | 5 | ||||
| -rw-r--r-- | modules/core/default.nix | 1 | ||||
| -rw-r--r-- | modules/core/programs.nix | 7 |
3 files changed, 8 insertions, 5 deletions
diff --git a/hosts/kioku/configuration.nix b/hosts/kioku/configuration.nix index 68a7e9c..f955735 100644 --- a/hosts/kioku/configuration.nix +++ b/hosts/kioku/configuration.nix @@ -18,11 +18,6 @@ system.stateVersion = "24.05"; raspberry-pi-nix.kernel-version = "v6_10_12"; - environment.systemPackages = with pkgs; [ - fastfetch - htop - ]; - users = { groups.${config.modules.primaryUser} = { }; diff --git a/modules/core/default.nix b/modules/core/default.nix index e75e874..c9b855c 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -3,6 +3,7 @@ ./access ./networking ./nix + ./programs.nix ./sops.nix ]; } diff --git a/modules/core/programs.nix b/modules/core/programs.nix new file mode 100644 index 0000000..2b13a22 --- /dev/null +++ b/modules/core/programs.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + fastfetch + htop + ]; +} |