summary refs log tree commit diff
path: root/nixos/modules/services/networking/tinc.nix
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2017-07-26 14:46:24 +0000
committerFranz Pletz <fpletz@fnordicwalking.de>2017-07-29 21:32:28 +0200
commiteaa2d27b907e30e42f456573218c72479d198f74 (patch)
treea81535d579c13cb1294d350773475d1fcb8e3e19 /nixos/modules/services/networking/tinc.nix
parentc4e26aff2288f39e1a778f222a78bfdbe2be9215 (diff)
downloadnixpkgs-eaa2d27b907e30e42f456573218c72479d198f74.tar
nixpkgs-eaa2d27b907e30e42f456573218c72479d198f74.tar.gz
nixpkgs-eaa2d27b907e30e42f456573218c72479d198f74.tar.bz2
nixpkgs-eaa2d27b907e30e42f456573218c72479d198f74.tar.lz
nixpkgs-eaa2d27b907e30e42f456573218c72479d198f74.tar.xz
nixpkgs-eaa2d27b907e30e42f456573218c72479d198f74.tar.zst
nixpkgs-eaa2d27b907e30e42f456573218c72479d198f74.zip
nixos/tinc: remove restartTriggers
```restartTriggers``` pointed to the constant files in ```/nix/store/``` and had to effect.
Diffstat (limited to 'nixos/modules/services/networking/tinc.nix')
-rw-r--r--nixos/modules/services/networking/tinc.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/tinc.nix b/nixos/modules/services/networking/tinc.nix
index 31a588318f6..be5bfaebf7d 100644
--- a/nixos/modules/services/networking/tinc.nix
+++ b/nixos/modules/services/networking/tinc.nix
@@ -164,8 +164,6 @@ in
         wantedBy = [ "multi-user.target" ];
         after = [ "network.target" ];
         path = [ data.package ];
-        restartTriggers = [ config.environment.etc."tinc/${network}/tinc.conf".source ]
-          ++ mapAttrsToList (host: _ : config.environment.etc."tinc/${network}/hosts/${host}".source) data.hosts;
         serviceConfig = {
           Type = "simple";
           PIDFile = "/run/tinc.${network}.pid";