stockholm/lass/2configs/backup.nix
2019-04-07 19:36:05 +02:00

14 lines
250 B
Nix

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