diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-08-05 21:45:03 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-08-05 21:45:32 -0600 |
| commit | eecebc6ffa285678f650700d771aace2efcf2176 (patch) | |
| tree | 4fcec99522c18bce4597965b47508c64308857d6 /nixos/trash/steam/default.nix | |
| parent | 5b0ef836787a6d5b2bcf390899e7357e5255d515 (diff) | |
nixos: remove services, trash
Diffstat (limited to 'nixos/trash/steam/default.nix')
| -rw-r--r-- | nixos/trash/steam/default.nix | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/nixos/trash/steam/default.nix b/nixos/trash/steam/default.nix deleted file mode 100644 index 80a45e8..0000000 --- a/nixos/trash/steam/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -with lib; let - cfg = config.options.trivium.trash.steam; -in { - options.trivium.trash.steam = { - enable = mkEnableOption "steam settings"; - - compatibilityPackages = mkOption { - type = types.bool; - default = true; - description = "Enable additional compatibility packages (protontricks, protonup, etc.)"; - }; - - remotePlayOpenFirewall = mkOption { - type = types.bool; - default = false; - description = "Open firewall for Steam Remote Play"; - }; - - dedicatedServerOpenFirewall = mkOption { - type = types.bool; - default = false; - description = "Open firewall for Steam Dedicated Server"; - }; - - localNetworkGameTransfersOpenFirewall = mkOption { - type = types.bool; - default = false; - description = "Open firewall for Steam Local Network Game Transfers"; - }; - }; - - config = mkIf cfg.enable { - programs.steam = { - enable = true; - remotePlay.openFirewall = cfg.remotePlayOpenFirewall; - dedicatedServer.openFirewall = cfg.dedicatedServerOpenFirewall; - localNetworkGameTransfers.openFirewall = cfg.localNetworkGameTransfersOpenFirewall; - }; - - environment = mkIf cfg.compatibilityPackages { - systemPackages = with pkgs; [ - protontricks - protonup - protonup-ng - winetricks - ]; - }; - }; -} |
