From 603e53fed5d5b18dee2baffcc4d69da3d1c0e735 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 28 Oct 2026 22:30:57 +0100 Subject: sunshine fixes --- hosts/phosphophyllite/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/phosphophyllite/default.nix') diff --git a/hosts/phosphophyllite/default.nix b/hosts/phosphophyllite/default.nix index 903bbae..311b9b5 100644 --- a/hosts/phosphophyllite/default.nix +++ b/hosts/phosphophyllite/default.nix @@ -50,7 +50,7 @@ }; }; - systemd.user.services.sunshine.serviceConfig.ExecStartPre = "${pkgs.procps}/bin/pkill -x sunshine || true"; + systemd.user.services.sunshine.serviceConfig.ExecStartPre = "-${pkgs.procps}/bin/pkill -x sunshine"; security.sudo.extraRules = [ { @@ -90,7 +90,7 @@ after = [ "graphical-session.target" ]; serviceConfig = { Type = "oneshot"; - ExecStart = "${pkgs.bash}/bin/bash -lc 'sleep 20; command -v serpantinum >/dev/null && serpantinum lock || true'"; + ExecStart = "${pkgs.bash}/bin/bash -lc 'sleep 2; command -v serpantinum >/dev/null && serpantinum lock || true'"; }; }; -- cgit v1.2.3