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