fix
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -64,6 +64,12 @@
|
||||
nix.settings.trusted-users = [ "root" "@wheel" ];
|
||||
users.users.${config.user} = {
|
||||
isNormalUser = true;
|
||||
description = "John Lancaster";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"docker"
|
||||
];
|
||||
} // userOptions config;
|
||||
|
||||
users.users.root = lib.mkIf config.root (userOptions config);
|
||||
@@ -81,14 +87,7 @@
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
users = {
|
||||
${config.user} = {
|
||||
isNormalUser = true;
|
||||
description = "John Lancaster";
|
||||
imports = mkhomeManagerModules config;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"docker"
|
||||
];
|
||||
};
|
||||
} // lib.optionalAttrs config.root {
|
||||
root = {
|
||||
|
||||
Reference in New Issue
Block a user