configuration.nix/hosts/skipper/network.nix
Adithya Nair c034a10aef
Revert "remove wireguard stuff"
This reverts commit 9b8ec24c63.
This reverts commit ec04addf62.
2023-10-10 18:29:53 +05:30

29 lines
586 B
Nix

{lib, ...}: {
imports = [./wireguard.nix];
networking = {
hostName = "Skipper";
networkmanager = {
enable = true;
dns = "systemd-resolved";
wifi = {
backend = "iwd";
powersave = false;
};
};
useDHCP = lib.mkDefault false;
wireless.iwd = {
enable = true;
settings = {
General = {
AddressRandomization = "network";
EnableNetworkConfiguration = false;
};
Settings = {
AutoConnect = "yes";
};
};
};
};
services.resolved.enable = true;
}