new nixos dotfile layout

Signed-off-by: Michał Czyż <mike@c2yz.com>
This commit is contained in:
2024-11-04 13:21:48 +01:00
parent cbfbe20592
commit 720c05f9b0
119 changed files with 3895 additions and 4549 deletions

28
hosts/modules/gaming.nix Executable file
View File

@@ -0,0 +1,28 @@
{ pkgs, username, ... }:
{
users.users.${username}.packages = with pkgs; [ heroic ];
hardware.steam-hardware.enable = true;
programs = {
steam = {
enable = true;
gamescopeSession.enable = true;
extraCompatPackages = with pkgs; [ proton-ge-bin ];
};
gamemode = {
enable = false;
enableRenice = false;
settings = { };
};
gamescope = {
enable = false;
args = [
"-w 1920 -h 1080"
"-F nis"
"f"
];
};
};
}