mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
tailscale: Add restart triggers
This commit is contained in:
parent
7edd02884e
commit
4f0fea5461
10 changed files with 32 additions and 11 deletions
|
|
@ -59,8 +59,14 @@ in
|
|||
};
|
||||
|
||||
sops.secrets = lib.mkIf useStaticTls {
|
||||
"syncthing/cert".owner = config.services.syncthing.user;
|
||||
"syncthing/key".owner = config.services.syncthing.user;
|
||||
"syncthing/cert" = {
|
||||
owner = config.services.syncthing.user;
|
||||
restartUnits = [ "syncthing.service" ];
|
||||
};
|
||||
"syncthing/key" = {
|
||||
owner = config.services.syncthing.user;
|
||||
restartUnits = [ "syncthing.service" ];
|
||||
};
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue