refactor2
This commit is contained in:
parent
7fa104b722
commit
f0a79a07f1
3 changed files with 25 additions and 19 deletions
|
|
@ -1,27 +0,0 @@
|
|||
{ config, lib, ...}: {
|
||||
|
||||
options.gaming.enable = lib.mkEnableOption "Enable steam and related software";
|
||||
|
||||
config = lib.mkIf config.gaming.enable {
|
||||
programs = {
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
|
||||
steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
gamemode.enable = true;
|
||||
};
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
mangohud
|
||||
protonup
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue