sunshine: drop unused files
All checks were successful
checks / checks (pull_request) Successful in 1m41s
checks / check-links (pull_request) Successful in 20s
checks / checks-impure (pull_request) Successful in 1m45s

This commit is contained in:
a-kenji 2024-03-19 12:53:28 +01:00
parent ceb1c95817
commit 626a9af638

View File

@ -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" = { };