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:
parent
59f88dad0f
commit
7f320b85d4
@ -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 = {
|
||||
|
@ -1,6 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [ pkgs.openrgb-with-all-plugins ];
|
||||
environment.systemPackages = with pkgs; [
|
||||
openrgb-with-all-plugins
|
||||
];
|
||||
services.hardware.openrgb.enable = true;
|
||||
}
|
||||
|
@ -1,7 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
vivaldi
|
||||
];
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
vscode
|
||||
];
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
dmenu
|
||||
];
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
rofi
|
||||
];
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnucash
|
||||
];
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
kitty
|
||||
];
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
ventoy
|
||||
];
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
via
|
||||
];
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
bitwarden
|
||||
];
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.firewalld
|
||||
pkgs.firewalld-gui
|
||||
environment.systemPackages = with pkgs; [
|
||||
firewalld
|
||||
firewalld-gui
|
||||
];
|
||||
networking.firewall.enable = true;
|
||||
}
|
||||
|
@ -4,5 +4,6 @@
|
||||
imports = [
|
||||
./dbus.nix
|
||||
./gnome-keyring.nix
|
||||
./miscellaneous.nix
|
||||
];
|
||||
}
|
14
system/utilities/miscellaneous.nix
Normal file
14
system/utilities/miscellaneous.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
curl
|
||||
zsh
|
||||
git
|
||||
rsync
|
||||
cryptsetup
|
||||
home-manager
|
||||
];
|
||||
}
|
7
user/browser/vivaldi.nix
Normal file
7
user/browser/vivaldi.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
vivaldi
|
||||
]);
|
||||
}
|
7
user/development/vscode.nix
Normal file
7
user/development/vscode.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
vscode
|
||||
]);
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = (with pkgs; [
|
||||
wine
|
||||
protonup-qt
|
||||
];
|
||||
]);
|
||||
}
|
@ -7,10 +7,10 @@
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = (with pkgs; [
|
||||
bottles
|
||||
lutris
|
||||
heroic
|
||||
prismlauncher
|
||||
];
|
||||
]);
|
||||
}
|
@ -7,9 +7,9 @@
|
||||
# enableRenice = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = (with pkgs; [
|
||||
mangohud
|
||||
goverlay
|
||||
vkbasalt
|
||||
];
|
||||
]);
|
||||
}
|
7
user/launcher/dmenu.nix
Normal file
7
user/launcher/dmenu.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
dmenu
|
||||
]);
|
||||
}
|
7
user/launcher/rofi.nix
Normal file
7
user/launcher/rofi.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
rofi
|
||||
]);
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = (with pkgs; [
|
||||
blender
|
||||
obs-studio
|
||||
];
|
||||
]);
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = (with pkgs; [
|
||||
gimp
|
||||
libsForQt5.kdenlive
|
||||
ffmpeg
|
||||
];
|
||||
]);
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = (with pkgs; [
|
||||
gnome.eog
|
||||
mpv
|
||||
trackma-gtk
|
||||
pocket-casts
|
||||
spotify
|
||||
spicetify-cli
|
||||
];
|
||||
]);
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = (with pkgs; [
|
||||
beeper
|
||||
discord
|
||||
signal-desktop
|
||||
zoom-us
|
||||
];
|
||||
]);
|
||||
}
|
7
user/productivity/finance.nix
Normal file
7
user/productivity/finance.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
gnucash
|
||||
]);
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = (with pkgs; [
|
||||
anytype
|
||||
logseq
|
||||
];
|
||||
]);
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = (with pkgs; [
|
||||
onlyoffice-bin
|
||||
xournalpp
|
||||
zathura
|
||||
libsForQt5.okular
|
||||
];
|
||||
]);
|
||||
}
|
7
user/terminal/kitty.nix
Normal file
7
user/terminal/kitty.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
kitty
|
||||
]);
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
home.packages = (with pkgs; [
|
||||
prusa-slicer
|
||||
];
|
||||
]);
|
||||
}
|
7
user/utilities/bootable-media.nix
Normal file
7
user/utilities/bootable-media.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
ventoy
|
||||
]);
|
||||
}
|
7
user/utilities/keyboard-configuration.nix
Normal file
7
user/utilities/keyboard-configuration.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
via
|
||||
]);
|
||||
}
|
7
user/utilities/passwords.nix
Normal file
7
user/utilities/passwords.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
bitwarden
|
||||
]);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user