Add user to networkmanager group

This commit is contained in:
ItsDrike 2024-09-24 10:18:41 +02:00
parent 4086bb1795
commit e79a5d7cde
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -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}"];
}