Unified home and system modules!

This commit is contained in:
marc committed 2022-11-19 11:58:21 +01:00
1 parent cfcc374a69
commit 890b05d352
45 files changed
+389 -566

No files matched your search

+17
View File
@@ -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
};
};
}