nix-config/hosts/m3-nix/services/wireguard.nix

9 lines
156 B
Nix
Raw Normal View History

2024-05-15 09:25:27 +00:00
{config, ...}: {
networking.wg-quick.interfaces = {
wg0 = {
configFile = config.age.secrets.wg-key.path;
autostart = false;
};
};
}