From 39406b3b6e5b052e5edad27ae0eabd6b6ce218ec Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 13 Aug 2018 09:24:17 +0200 Subject: tinc package in system environment --- custom/tinc/def.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } )); + environment.systemPackages = [ data.package ]; + networking.interfaces = flip mapAttrs' cfg.networks (network: data: nameValuePair (network) ({ @@ -159,7 +161,7 @@ in })); systemd.services = flip mapAttrs' cfg.networks (network: data: nameValuePair - ("tinc.${network}") + ("tinc@${network}") ({ description = "Tinc Daemon - ${network}"; wantedBy = [ "network.target" ]; -- cgit v1.2.3