chore: don't use secrets for users name
This commit is contained in:
parent
dcdb9ec936
commit
893ada587b
1 changed files with 1 additions and 3 deletions
|
@ -13,8 +13,6 @@ in
|
||||||
|
|
||||||
users.users.jan = {
|
users.users.jan = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
name = secrets.userName;
|
|
||||||
home = secrets.userDir;
|
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel" # Enable ‘sudo’ for the user.
|
"wheel" # Enable ‘sudo’ for the user.
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
|
@ -38,5 +36,5 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.settings.trusted-users = lib.mkForce [ "root" secrets.userName ];
|
nix.settings.trusted-users = lib.mkForce [ "root" "jan" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue