This commit is contained in:
John Lancaster
2025-07-03 22:09:24 -05:00
parent 9f873a95c0
commit 7b315f9a39

View File

@@ -64,6 +64,12 @@
nix.settings.trusted-users = [ "root" "@wheel" ]; nix.settings.trusted-users = [ "root" "@wheel" ];
users.users.${config.user} = { users.users.${config.user} = {
isNormalUser = true; isNormalUser = true;
description = "John Lancaster";
extraGroups = [
"networkmanager"
"wheel"
"docker"
];
} // userOptions config; } // userOptions config;
users.users.root = lib.mkIf config.root (userOptions config); users.users.root = lib.mkIf config.root (userOptions config);
@@ -81,14 +87,7 @@
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
users = { users = {
${config.user} = { ${config.user} = {
isNormalUser = true;
description = "John Lancaster";
imports = mkhomeManagerModules config; imports = mkhomeManagerModules config;
extraGroups = [
"networkmanager"
"wheel"
"docker"
];
}; };
} // lib.optionalAttrs config.root { } // lib.optionalAttrs config.root {
root = { root = {