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:
8
user/gaming/compatibility.nix
Normal file
8
user/gaming/compatibility.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = (with pkgs; [
|
||||
wine
|
||||
protonup-qt
|
||||
]);
|
||||
}
|
9
user/gaming/default.nix
Normal file
9
user/gaming/default.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./utilities.nix
|
||||
./launchers.nix
|
||||
./compatibility.nix
|
||||
];
|
||||
}
|
16
user/gaming/launchers.nix
Normal file
16
user/gaming/launchers.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
home.packages = (with pkgs; [
|
||||
bottles
|
||||
lutris
|
||||
heroic
|
||||
prismlauncher
|
||||
]);
|
||||
}
|
15
user/gaming/utilities.nix
Normal file
15
user/gaming/utilities.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
# settings = {};
|
||||
# enableRenice = true;
|
||||
};
|
||||
|
||||
home.packages = (with pkgs; [
|
||||
mangohud
|
||||
goverlay
|
||||
vkbasalt
|
||||
]);
|
||||
}
|
Reference in New Issue
Block a user