nixos-config/config/services/backup.nix

12 lines
218 B
Nix

{ ... }: {
users.users.backup = {
description = "Backup user";
home = "/backup";
isSystemUser = true;
openssh.authorizedKeys.keys = [
];
group = "backup";
};
users.groups.backup = { };
}