nixos-config/config/services/backup.nix

13 lines
218 B
Nix
Raw Normal View History

2022-04-24 12:11:41 +00:00
{ ... }: {
users.users.backup = {
description = "Backup user";
home = "/backup";
isSystemUser = true;
openssh.authorizedKeys.keys = [
];
2022-04-24 12:14:47 +00:00
group = "backup";
2022-04-24 12:11:41 +00:00
};
2022-04-24 12:14:47 +00:00
users.groups.backup = { };
2022-04-24 12:11:41 +00:00
}