nix-gaming flake
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
imports = [ inputs.nix-gaming.nixosModules.platformOptimizations ];
|
||||
options.my.apps.gaming.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.apps.gaming.enable {
|
||||
programs = {
|
||||
@@ -8,6 +9,7 @@
|
||||
gamescopeSession.enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
platformOptimizations.enable = true;
|
||||
};
|
||||
};
|
||||
users.users.jawz.packages =
|
||||
|
||||
Reference in New Issue
Block a user