stockholm/lass/2configs/backup.nix
2019-09-22 12:10:57 +02:00

15 lines
275 B
Nix

{ config, lib, ... }:
with import <stockholm/lib>;
{
users.users.backup = {
useDefaultShell = true;
home = "/backups";
createHome = true;
group = "syncthing";
openssh.authorizedKeys.keys = with config.krebs.hosts; [
blue.ssh.pubkey
];
};
}