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

9 lines
158 B
Nix
Raw Normal View History

2023-05-30 09:50:34 +00:00
{ config, ... }: {
networking.wg-quick.interfaces = {
wg0 = {
configFile = config.age.secrets.wg-key.path;
autostart = false;
};
};
}