summaryrefslogtreecommitdiffstats
path: root/modules/x0vncserver.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-01 00:46:56 +0000
committertv <tv@krebsco.de>2026-12-01 01:33:34 +0000
commit143b4991a1cecbf471e6199d3aa100944e007c4d (patch)
treee5fb1a1729cab6ce9d57fb0ba20f32dc5d2cabe0 /modules/x0vncserver.nix
parentd81d9aaac6d50b6f2690cfb63987678d3ee90d4c (diff)
systemd-credentials: make the options part of systemd.services
systemd.services.<name>.restartIfCredentialsChange and reloadIfCredentialsChange replace hrm.systemd.services.<name>.…; the alias for stockholm's krebs.systemd.services now points there. Units can't be made from config.systemd.services itself, so the trigger services become two templates, credentials-restart@ and credentials-reload@, which call systemctl themselves; only the path units remain per service, by their old names. Without comparing checksums any more: the path units fire when a credential is written, and nothing rewrites one unchanged.
Diffstat (limited to 'modules/x0vncserver.nix')
-rw-r--r--modules/x0vncserver.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/x0vncserver.nix b/modules/x0vncserver.nix
index 48c8da1a..d0193673 100644
--- a/modules/x0vncserver.nix
+++ b/modules/x0vncserver.nix
@@ -25,7 +25,7 @@ in {
};
};
config = lib.mkIf cfg.enable {
- hrm.systemd.services.x0vncserver.restartIfCredentialsChange = true;
+ systemd.services.x0vncserver.restartIfCredentialsChange = true;
systemd.services.x0vncserver = {
after = [ "graphical.target" ];
requires = [ "graphical.target" ];
[cgit] Unable to lock slot /tmp/cgit/11000000.lock: Permission denied (13)