diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/tinc/def.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/tinc/def.nix b/custom/tinc/def.nix index 2610a13f..099b4f70 100644 --- a/custom/tinc/def.nix +++ b/custom/tinc/def.nix | |||
@@ -135,6 +135,8 @@ in | |||
135 | } | 135 | } |
136 | )); | 136 | )); |
137 | 137 | ||
138 | environment.systemPackages = [ data.package ]; | ||
139 | |||
138 | networking.interfaces = flip mapAttrs' cfg.networks (network: data: nameValuePair | 140 | networking.interfaces = flip mapAttrs' cfg.networks (network: data: nameValuePair |
139 | (network) | 141 | (network) |
140 | ({ | 142 | ({ |
@@ -159,7 +161,7 @@ in | |||
159 | })); | 161 | })); |
160 | 162 | ||
161 | systemd.services = flip mapAttrs' cfg.networks (network: data: nameValuePair | 163 | systemd.services = flip mapAttrs' cfg.networks (network: data: nameValuePair |
162 | ("tinc.${network}") | 164 | ("tinc@${network}") |
163 | ({ | 165 | ({ |
164 | description = "Tinc Daemon - ${network}"; | 166 | description = "Tinc Daemon - ${network}"; |
165 | wantedBy = [ "network.target" ]; | 167 | wantedBy = [ "network.target" ]; |