From 39b190fcc34cfd94d8b7c2ee31c1fab3a40ef85f Mon Sep 17 00:00:00 2001 From: kenji Date: Mon, 5 Jan 2026 13:04:42 -0600 Subject: [PATCH] refactor(user): switch to mutable users with initial password for easier bootstrapping --- modules/nixos/user.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/user.nix b/modules/nixos/user.nix index 459e95b..cc1f40e 100644 --- a/modules/nixos/user.nix +++ b/modules/nixos/user.nix @@ -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; }; };