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

9 lines
158 B
Nix

{ config, ... }: {
networking.wg-quick.interfaces = {
wg0 = {
configFile = config.age.secrets.wg-key.path;
autostart = false;
};
};
}