Unified home and system modules!
This commit is contained in:
1 parent
cfcc374a69
commit
890b05d352
45 files changed
+389
-566
No files matched your search
@@ -0,0 +1,17 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.samfelag.modules.gaming.steam;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.gaming.steam = {
|
||||
enable = lib.mkEnableOption "steam";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user