From 626a9af638afaee562db4218ce79442b7ab22226 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Tue, 19 Mar 2024 12:53:28 +0100 Subject: [PATCH] sunshine: drop unused files --- clanModules/sunshine.nix | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/clanModules/sunshine.nix b/clanModules/sunshine.nix index 410c3d34..20a01083 100644 --- a/clanModules/sunshine.nix +++ b/clanModules/sunshine.nix @@ -73,7 +73,7 @@ in # don't use this account in actual production yet. (pkgs.writers.writeDashBin "init-sun" '' ${pkgs.sunshine}/bin/sunshine \ - --creds "sun" "sun" + --creds "sunshine" "sunshine" '') ]; @@ -179,14 +179,6 @@ in }' ''; serviceConfig = { - # ExecStart = lib.concatStringsSep " " (lib.flatten - # [ - # (lib.getExe ms-accept) "sunshine" "listen" - # "--port" (builtins.toString listenPort) - # "--uuid" (config.clanCore.secrets.sunshine.facts."sunshine-uuid".value or "") - # "--state" "/var/lib/sunshine/state.json" - # "--cert" (config.clanCore.secrets.sunshine.facts."sunshine.cert".value or "") - # ] # ); Restart = "on-failure"; RestartSec = 5; @@ -195,20 +187,6 @@ in wantedBy = [ "graphical-session.target" ]; }; - # xdg.configFile."sunshine/apps.json".text = builtins.toJSON { - # env = "/run/current-system/sw/bin"; - # apps = [ - # { - # name = "Steam"; - # output = "steam.txt"; - # detached = [ - # "${pkgs.util-linux}/bin/setsid ${pkgs.steam}/bin/steam steam://open/bigpicture" - # ]; - # image-path = "steam.png"; - # } - # ]; - # }; - clanCore.secrets.sunshine = { secrets."sunshine.key" = { }; secrets."sunshine.cert" = { };