summaryrefslogtreecommitdiffstats
path: root/lass/2configs/backup.nix
blob: 94272fdb0e4d0bb375d651ac408ab448f1a726bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ 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
    ];
  };
}