refactor(user): switch to mutable users with initial password for easier bootstrapping

This commit is contained in:
kenji
2026-01-05 13:04:42 -06:00
parent b8df78e935
commit 39b190fcc3
+2 -2
View File
@@ -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;
};
};