mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 07:54:34 +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 = {
|
||||
firewall.enable = false;
|
||||
|
||||
|
@ -15,4 +17,6 @@
|
|||
"2620:fe::fe"
|
||||
];
|
||||
};
|
||||
|
||||
users.extraGroups.networkmanager.members = ["${cfgUser}"];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue