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