about summary refs log tree commit diff
path: root/nixos/alpha/configuration.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-01-01 22:49:45 +0900
committersefidel <contact@sefidel.net>2024-01-01 22:49:45 +0900
commit94c1c360c8bb016b831cf2132c74650d65aab5f7 (patch)
tree3ec0390bbaacec0e9d1857ebb2d05865cd038d4b /nixos/alpha/configuration.nix
parent25fc3af9ed43346a56dbb925e9213adfd98098eb (diff)
downloadnixrc-94c1c360c8bb016b831cf2132c74650d65aab5f7.tar.gz
nixrc-94c1c360c8bb016b831cf2132c74650d65aab5f7.zip
feat(nixos/alpha): add steam
Diffstat (limited to 'nixos/alpha/configuration.nix')
-rw-r--r--nixos/alpha/configuration.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 533eaaa..4136b05 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -270,6 +270,13 @@
     zsh.enableCompletion = false;
   };
 
+  programs.steam = {
+    enable = true;
+    remotePlay.openFirewall = true;
+    dedicatedServer.openFirewall = true;
+  };
+  nix.allowedUnfree = [ "steam" "steam-original" "steam-run" ];
+
   environment.sessionVariables = {
     WLR_NO_HARDWARE_CURSORS = "1"; # Prevent cursors disappearing on nouveau
   };