2018-04-27 14:55:43 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
with import <stockholm/lib>;
|
|
|
|
|
|
|
|
{
|
|
|
|
users.users.backup = {
|
|
|
|
useDefaultShell = true;
|
|
|
|
home = "/backups";
|
|
|
|
createHome = true;
|
2019-09-22 10:10:57 +00:00
|
|
|
group = "syncthing";
|
2018-04-27 14:55:43 +00:00
|
|
|
openssh.authorizedKeys.keys = with config.krebs.hosts; [
|
2018-05-20 08:32:07 +00:00
|
|
|
blue.ssh.pubkey
|
2018-04-27 14:55:43 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|