add borg server to thinkpad
This commit is contained in:
parent
b92cae3c69
commit
80c6638c28
1 changed files with 11 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
../../../modules/gnome/system.nix
|
../../../modules/gnome/system.nix
|
||||||
../../../modules/tailscale.nix
|
../../../modules/tailscale.nix
|
||||||
../../../modules/login-display.nix
|
../../../modules/login-display.nix
|
||||||
|
../../../modules/borg/server.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader - standard UEFI setup
|
# Bootloader - standard UEFI setup
|
||||||
|
|
@ -242,4 +243,14 @@
|
||||||
showDiskUsage = true;
|
showDiskUsage = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.borg-server-custom = {
|
||||||
|
enable = true;
|
||||||
|
dataDir = "/srv/borg";
|
||||||
|
users = {
|
||||||
|
hs = {
|
||||||
|
publicKeys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICp2goZiuSfwMA02GsHhYzUZHrQPPBgP5sWSNP9kQR3e yanlin@imac" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue