global/nix: make remotebuild a system user

This commit is contained in:
Infinidoge 2024-03-20 17:01:30 -04:00
parent e3088abb66
commit 7e663ee5f3
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -104,8 +104,8 @@ with lib;
users.users.remotebuild = {
description = "Unprivledged user for Nix remote builds";
isNormalUser = true;
createHome = false;
isSystemUser = true;
shell = pkgs.bashInteractive;
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
group = "remotebuild";
};