mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 21:57:17 +00:00
Add user to networkmanager group
This commit is contained in:
parent
4086bb1795
commit
e79a5d7cde
|
@ -1,4 +1,6 @@
|
||||||
{lib, ...}: {
|
{config, ...}: let
|
||||||
|
cfgUser = config.myOptions.system.username;
|
||||||
|
in {
|
||||||
networking = {
|
networking = {
|
||||||
firewall.enable = false;
|
firewall.enable = false;
|
||||||
|
|
||||||
|
@ -15,4 +17,6 @@
|
||||||
"2620:fe::fe"
|
"2620:fe::fe"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.extraGroups.networkmanager.members = ["${cfgUser}"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue