From da7755d202fb5be9296da362c62f2ef470aeba7d Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Fri, 25 Feb 2022 18:20:11 +0100 Subject: [PATCH] wireguard directory --- nixos/common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/common.nix b/nixos/common.nix index ccb544e..d87f920 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -6,6 +6,7 @@ extraOptions = '' experimental-features = nix-command flakes ''; + optimise.automatic = true; }; # boot.binfmt.emulatedSystems = [ "aarch64-linux" "qemu-aarch64" ]; @@ -273,7 +274,6 @@ "/etc/ssh/ssh_host_ed25519_key.pub" "/etc/ssh/ssh_host_rsa_key" "/etc/ssh/ssh_host_rsa_key.pub" - "/etc/wireguard/wg0" ]; }; "/persist/user" = { @@ -281,6 +281,7 @@ "/etc/NetworkManager/system-connections" "/etc/nixos" "/var/lib/libvirt" + "/etc/wireguard" ]; }; };