added gaming module

This commit is contained in:
kenji
2025-07-02 19:28:47 -05:00
parent e1de9403e4
commit 27cc1641f2
5 changed files with 18 additions and 3 deletions
+1
View File
@@ -84,6 +84,7 @@
# monitor, resolution@refreshrate, position (e.g., 0x0 is middle, 0x1080 is top), scale
"DP-1,highres@165,0x1080,auto"
"DP-2,highres@highrr,0x0,auto"
"HDMI-A-1, preferred, 20000x20000,1"
];
};
};
+1 -1
View File
@@ -14,7 +14,7 @@
../../modules/de.nix
]
++ lib.optionals (myConfig.linux.apps.gaming == true) [
../../system/gaming.nix
../../modules/gaming.nix
];
environment.systemPackages = [];
+6
View File
@@ -0,0 +1,6 @@
{
imports = [
../system/stream.nix
../system/gaming.nix
];
}
+8
View File
@@ -0,0 +1,8 @@
{
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true;
openFirewall = true;
};
}
+2 -2
View File
@@ -11,8 +11,8 @@
];
programs.hyprland = {
enable = true;
# package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
# portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
hardware = {
graphics.enable = true;