Revert "users: add deploy"

This reverts commit cded5bfdf7.
This commit is contained in:
Nico 2025-11-30 21:32:18 +11:00
parent f21dac2787
commit fcb86e0709
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
2 changed files with 0 additions and 29 deletions

View file

@ -1,28 +0,0 @@
{ config, lib, pkgs, ...}:
{
users.users.deploy = {
isNormalUser = true;
home = "/var/empty";
group = "deploy";
};
users.groups.deploy = {};
users.users.deploy.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILXwl+UyfeN/9M/z21mlVS3guYEqIjtgAf5pCPkjXhR0"
];
security.sudo.extraRules = [
{
users = [ "deploy" ];
runAs = "root";
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
}