{ config, userDetails, ... }: { users.users.root = { hashedPasswordFile = config.sops.secrets.hashed-root-password.path; }; users.users.${userDetails.username} = { description = userDetails.fullname; #home = userDetails.home.root; isNormalUser = true; hashedPasswordFile = config.sops.secrets.hashed-root-password.path; extraGroups = [ "wheel" "nixbld" ]; }; }