From 29cf135aa803a773bc4572b5098764baa8ceb94a Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 18 Nov 2026 13:08:22 +0000 Subject: tinc: use hrm.systemd.services --- modules/systemd-credentials.nix | 2 +- modules/tinc.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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; -- cgit v1.3.1