move steam to a sub-include

This commit is contained in:
Don Harper 2024-06-14 07:06:15 -05:00
parent cc476b70b5
commit bf2768c201
4 changed files with 20 additions and 13 deletions

View file

@ -8,6 +8,7 @@
./hardware-configuration.nix
# ../disko/mmcblk.nix
../workstation
../workstation/games
../themes.nix
../wm
];

View file

@ -9,6 +9,7 @@
# ../disko/nvme.nix
../workstation
../workstation/kvm.nix
../workstation/games
../wm
../themes.nix
];

View file

@ -225,7 +225,6 @@ in
poppler_utils
pulseaudio
ruby
# steam
udiskie
wireplumber
wlsunset
@ -235,18 +234,6 @@ in
];
programs = {
# GAMES!
steam = {
enable = true;
gamescopeSession.enable = true;
# # Open ports in the firewall for Steam Remote Play
# remotePlay.openFirewall = true;
# # Open ports in the firewall for Source Dedicated Server
# dedicatedServer.openFirewall = true;
};
gamemode = {
enable = true;
};
dconf = {
enable = true;
};

View file

@ -0,0 +1,18 @@
{ inputs, outputs, lib, config, pkgs, ... }:
{
programs = {
# GAMES!
steam = {
enable = true;
gamescopeSession.enable = true;
# # Open ports in the firewall for Steam Remote Play
# remotePlay.openFirewall = true;
# # Open ports in the firewall for Source Dedicated Server
# dedicatedServer.openFirewall = true;
};
gamemode = {
enable = true;
};
};
}