Deduplicate all applications and system settings

This commit is contained in:
2025-06-25 21:59:36 -07:00
parent c110357818
commit eb1666f310
38 changed files with 571 additions and 821 deletions

View File

@@ -1,5 +1,32 @@
{ ... }: {
imports = [
../applications/steam.nix
{ pkgs, ... }:
{
# Support steam hardware like the index and steam controller
hardware.steam-hardware.enable = true;
# Steam
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
gamescopeSession.enable = true;
};
# Valve's micro-compositor
programs.gamescope = {
enable = true;
capSysNice = true;
};
# Open source OpenXR runtime for VR
services.monado = {
enable = true;
defaultRuntime = true;
highPriority = true;
};
environment.systemPackages = with pkgs; [
bs-manager
heroic
monado
];
}
}