nix-config/modules/nixos/networking.nix

10 lines
166 B
Nix

{
config,
pkgs,
...
}: {
# Enable networking
networking.networkmanager.enable = true;
users.users.${config.host.user}.extraGroups = ["networkmanager"];
}