Deduplicate steam

This commit is contained in:
2025-06-25 05:27:46 -07:00
parent 2a8f6f3ded
commit 98f47d6c6a
4 changed files with 24 additions and 20 deletions

View File

@@ -13,6 +13,7 @@
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../modules/application-groups/gaming.nix
];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
@@ -308,7 +309,6 @@
};
virtualisation.waydroid.enable = true;
hardware.steam-hardware.enable = true;
virtualisation.podman = {
enable = true;
@@ -387,18 +387,6 @@
];
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
gamescopeSession.enable = true;
};
programs.gamescope = {
enable = true;
capSysNice = true;
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;

View File

@@ -8,6 +8,7 @@
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../modules/application-groups/gaming.nix
];
#boot.kernelPackages = pkgs.linuxPackages_latest;
@@ -393,13 +394,6 @@
];
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
gamescopeSession.enable = true;
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;

View File

@@ -0,0 +1,5 @@
{ ... }: {
imports = [
../applications/steam.nix
];
}

View File

@@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
hardware.steam-hardware.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
gamescopeSession.enable = true;
};
programs.gamescope = {
enable = true;
capSysNice = true;
};
}