diff options
| author | tv <tv@krebsco.de> | 2026-11-18 13:08:22 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-18 14:29:46 +0100 |
| commit | 29cf135aa803a773bc4572b5098764baa8ceb94a (patch) | |
| tree | 4ec49c5b52e01a19e0fd3e23c48617538ada06c3 | |
| parent | d29d62964860a01e6c253641cc664249eb529c7e (diff) | |
tinc: use hrm.systemd.services
| -rw-r--r-- | modules/systemd-credentials.nix | 2 | ||||
| -rw-r--r-- | modules/tinc.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/systemd-credentials.nix b/modules/systemd-credentials.nix index 4c5bd8d..61a8abe 100644 --- a/modules/systemd-credentials.nix +++ b/modules/systemd-credentials.nix @@ -1,6 +1,6 @@ { config, pkgs, lib, mylib, ... }: { - # stockholm's tinc, repo-sync, and exim-smarthost still use the old name. + # stockholm's repo-sync and exim-smarthost still use the old name. imports = [ (lib.mkAliasOptionModule [ "krebs" "systemd" "services" ] [ "hrm" "systemd" "services" ]) ]; diff --git a/modules/tinc.nix b/modules/tinc.nix index 65f4f6a..4c87e68 100644 --- a/modules/tinc.nix +++ b/modules/tinc.nix @@ -201,7 +201,7 @@ in with slib; { }; config = { - krebs.systemd.services = mapAttrs (netname: cfg: { + hrm.systemd.services = mapAttrs (netname: cfg: { restartIfCredentialsChange = true; }) config.krebs.tinc; |
