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 = {
|
||||
isNormalUser = true;
|
||||
name = secrets.userName;
|
||||
home = secrets.userDir;
|
||||
extraGroups = [
|
||||
"wheel" # Enable ‘sudo’ for the user.
|
||||
"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