Separate System and User packages
- Move user programs out of systems section and int user section - Install user packages with home manager rather than system wide
This commit is contained in:
@@ -9,16 +9,8 @@
|
||||
(../../hosts + "/${systemSettings.hardwareConfiguration}.nix")
|
||||
(../../system/gui + "/${userSettings.desktop}.nix")
|
||||
../../system/hardware/default.nix
|
||||
(../../system/programs/browser + "/${userSettings.browser}.nix")
|
||||
../../system/programs/development/default.nix
|
||||
../../system/programs/gaming/default.nix
|
||||
../../system/programs/launcher/default.nix
|
||||
../../system/programs/media/default.nix
|
||||
../../system/programs/productivity/default.nix
|
||||
(../../system/programs/terminal + "/${userSettings.term}.nix")
|
||||
../../system/programs/utilities/default.nix
|
||||
../../system/security/default.nix
|
||||
../../system/util/default.nix
|
||||
../../system/utilities/default.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
@@ -72,15 +64,8 @@
|
||||
uid = 1000;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
zsh
|
||||
git
|
||||
rsync
|
||||
cryptsetup
|
||||
home-manager
|
||||
];
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# ];
|
||||
|
||||
environment.shells = with pkgs; [ zsh ];
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
|
@@ -9,8 +9,19 @@
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
home.packages = (with pkgs; [
|
||||
]);
|
||||
imports = [
|
||||
(../../user/browser + "/${userSettings.browser}.nix")
|
||||
../../user/development/default.nix
|
||||
../../user/gaming/default.nix
|
||||
../../user/launcher/default.nix
|
||||
../../user/media/default.nix
|
||||
../../user/productivity/default.nix
|
||||
(../../user/terminal + "/${userSettings.term}.nix")
|
||||
../../user/utilities/default.nix
|
||||
];
|
||||
|
||||
# home.packages = (with pkgs; [
|
||||
# ]);
|
||||
|
||||
xdg.enable = true;
|
||||
xdg.userDirs = {
|
||||
|
Reference in New Issue
Block a user