summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}