mirror of
https://github.com/Superredstone/nixos.git
synced 2026-06-17 15:24:39 +02:00
38 lines
682 B
Nix
38 lines
682 B
Nix
{
|
|
pkgs,
|
|
gamingSystem,
|
|
currentSystemDe,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
|
|
]
|
|
++ (if currentSystemDe == "niri" then [ ./niri.nix ] else [ ])
|
|
++ (if currentSystemDe == "gnome" then [ ./gnome.nix ] else [ ])
|
|
++ (if currentSystemDe == "plasma" then [ ./plasma.nix ] else [ ]);
|
|
|
|
programs = {
|
|
gamescope = {
|
|
enable = true;
|
|
capSysNice = true;
|
|
};
|
|
steam =
|
|
if gamingSystem then
|
|
{
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
}
|
|
else
|
|
{ };
|
|
gnupg.agent = {
|
|
enable = true;
|
|
pinentryPackage = pkgs.pinentry-tty;
|
|
enableSSHSupport = true;
|
|
};
|
|
nh = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|