refactor(user): switch to mutable users with initial password for easier bootstrapping
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
...
|
||||
}: {
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
mutableUsers = true;
|
||||
users = {
|
||||
${myConfig.nixos.username} = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel" "networkmanager" "input" "video"];
|
||||
hashedPasswordFile = config.sops.secrets.default_password.path; # FIXME: may not work!
|
||||
initialPassword = "password";
|
||||
useDefaultShell = true;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user