{ 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 = [ "i2c" "nixbld" "video" "wheel" ]; }; }