From 9eb6a1ca7051f67cc4b1ff518036b12827f26425 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 8 Jun 2022 16:44:07 +0200 Subject: [PATCH] Change wireguard secret permissions --- configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index d1c36d9..7b7d9b2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -102,7 +102,11 @@ in { # Specify secrets age = { - secrets.wireguard.file = secrets/wireguard.age; + secrets.wireguard = { + file = secrets/wireguard.age; + owner = "systemd-network"; + group = "systemd-network"; + }; secrets.syncthing.file = secrets/syncthing.age; secrets.samba-ugent.file = secrets/samba-ugent.age; secrets.msmtp.file = secrets/msmtp.age;