2018-04-27 14:55:43 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
with import <stockholm/lib>;
|
|
|
|
|
|
|
|
{
|
|
|
|
fileSystems = {
|
|
|
|
"/backups" = {
|
|
|
|
device = "/dev/pool/backup";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
users.users.backup = {
|
|
|
|
useDefaultShell = true;
|
|
|
|
home = "/backups";
|
|
|
|
createHome = true;
|
|
|
|
openssh.authorizedKeys.keys = with config.krebs.hosts; [
|
|
|
|
mors.ssh.pubkey
|
|
|
|
prism.ssh.pubkey
|
2018-05-20 08:32:07 +00:00
|
|
|
blue.ssh.pubkey
|
2018-04-27 14:55:43 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|