summaryrefslogtreecommitdiff
path: root/gaming.nix
diff options
context:
space:
mode:
authorJasper Ras <jaspert.ras@gmail.com>2024-10-23 08:50:57 +0200
committerJasper Ras <jaspert.ras@gmail.com>2024-10-23 08:50:57 +0200
commitd9511a642b80c16db6508bc1f4b51f229c257b3a (patch)
treea9cdf25f7e0f74abc484cb45fce25ea86bf0853a /gaming.nix
Initial commit
Diffstat (limited to 'gaming.nix')
-rw-r--r--gaming.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/gaming.nix b/gaming.nix
new file mode 100644
index 0000000..768af12
--- /dev/null
+++ b/gaming.nix
@@ -0,0 +1,28 @@
+{ config, pkgs, ... }:
+
+{
+ programs.steam.enable = true;
+
+ services.sunshine = {
+ enable = true;
+ autoStart = true;
+ capSysAdmin = true;
+ openFirewall = true;
+ settings = {
+ output_name = 1;
+ };
+ applications = {
+ apps = [
+ {
+ name = "Auto Desktop";
+ prep-cmd = [
+ {
+ do = "";
+ undo = "";
+ }
+ ];
+ }
+ ];
+ };
+ };
+}