added sane modules
This commit is contained in:
parent
4247684ed4
commit
6a59cd0a68
5 changed files with 57 additions and 3 deletions
15
options/common/networking.nix
Normal file
15
options/common/networking.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
dns = "systemd-resolved";
|
||||
};
|
||||
};
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
fallbackDns = ["9.9.9.9"];
|
||||
};
|
||||
user.users.config.myOptions.other.system.username.extraGroups = [ "networkmanager" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue