feat: move stuff around a bit, created new modules.
This commit is contained in:
parent
12fadadc5c
commit
506525af35
12 changed files with 247 additions and 215 deletions
|
|
@ -9,6 +9,9 @@
|
|||
crony.gaming.enable = lib.mkEnableOption "enable gaming related stuff, like steam and gamemode";
|
||||
};
|
||||
config = lib.mkIf config.crony.gaming.enable {
|
||||
# Setup ntsync
|
||||
boot.kernelModules = ["ntsync"];
|
||||
|
||||
# Install steam
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
|
|
@ -36,6 +39,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Setup esync
|
||||
systemd.settings.Manager = {
|
||||
DefaultLimitNOFILE = 1048576;
|
||||
|
|
@ -49,6 +53,9 @@
|
|||
}
|
||||
];
|
||||
|
||||
# Enable sleepy launcher
|
||||
programs.sleepy-launcher.enable = true;
|
||||
|
||||
# Setup switch pro controller
|
||||
hardware.steam-hardware.enable = true;
|
||||
services.joycond.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue