summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-10-28 23:49:42 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-10-28 23:49:42 +0200
commit784bbe630008c4d1b4efb5f44291359eb935886a (patch)
treeea905d68ac3e345146604707ad6a0da7bab8b759 /custom
parent962e6c0a9abd7a54b739a473fff20451df8f4ebd (diff)
downloadnixos-784bbe630008c4d1b4efb5f44291359eb935886a.tar
nixos-784bbe630008c4d1b4efb5f44291359eb935886a.tar.gz
nixos-784bbe630008c4d1b4efb5f44291359eb935886a.tar.bz2
nixos-784bbe630008c4d1b4efb5f44291359eb935886a.tar.xz
nixos-784bbe630008c4d1b4efb5f44291359eb935886a.zip
Diffstat (limited to 'custom')
-rw-r--r--custom/tinc/def.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/tinc/def.nix b/custom/tinc/def.nix
index c360c4d5..48b12505 100644
--- a/custom/tinc/def.nix
+++ b/custom/tinc/def.nix
@@ -143,7 +143,7 @@ in
143 } // data.interfaceConfig) 143 } // data.interfaceConfig)
144 ); 144 );
145 145
146 networking.networkmanager.dispatcherScripts = flatten (flip mapAttrs' cfg.networks (network: data: optional data.nmDispatch { 146 networking.networkmanager.dispatcherScripts = concatLists (flip mapAttrsToList cfg.networks (network: data: optional data.nmDispatch {
147 type = "basic"; 147 type = "basic";
148 source = pkgs.writeScript "connect-${network}.sh" '' 148 source = pkgs.writeScript "connect-${network}.sh" ''
149 #!${pkgs.stdenv.shell} 149 #!${pkgs.stdenv.shell}