summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-23 11:58:10 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-23 11:58:10 +0200
commit2303d080d091947d6803a7b170c8dafa01e52665 (patch)
tree48bf1a748736b9dae1d2b80c5b17eacef3cd4310
parent228b191389b989dcbec609e52371f0dda33ef51b (diff)
downloadnixos-2303d080d091947d6803a7b170c8dafa01e52665.tar
nixos-2303d080d091947d6803a7b170c8dafa01e52665.tar.gz
nixos-2303d080d091947d6803a7b170c8dafa01e52665.tar.bz2
nixos-2303d080d091947d6803a7b170c8dafa01e52665.tar.xz
nixos-2303d080d091947d6803a7b170c8dafa01e52665.zip
-rw-r--r--custom/tinc/yggdrasil.nix7
1 files changed, 0 insertions, 7 deletions
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix
index 2caa74a0..f5684d08 100644
--- a/custom/tinc/yggdrasil.nix
+++ b/custom/tinc/yggdrasil.nix
@@ -43,13 +43,6 @@ in {
43 }; 43 };
44 44
45 config = mkIf cfg.enable { 45 config = mkIf cfg.enable {
46 security.sudo = {
47 enable = true;
48 extraConfig = ''
49 tinc.yggdrasil ${config.networking.hostName} = (root) NOPASSWD: SETENV: ${heimdallr-up}, ${heimdallr-down}
50 '';
51 };
52
53 services.customTinc.networks."yggdrasil" = { 46 services.customTinc.networks."yggdrasil" = {
54 inherit (cfg) name interfaceConfig; 47 inherit (cfg) name interfaceConfig;
55 debugLevel = 2; 48 debugLevel = 2;