diff options
-rw-r--r-- | data/breakds.pub | 1 | ||||
-rw-r--r-- | modules/backup-server.nix | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/data/breakds.pub b/data/breakds.pub new file mode 100644 index 0000000..ae9e3f3 --- /dev/null +++ b/data/breakds.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCufzz+junNGEU8r3VScoGbpia4mlzVV4jEMECv3tpk9N9fzWdA5xjaFtpqImmtKDuMgM9QTK2CnkDgvo4/2KCZH51GUQKOmymVFppul5yC41ScOWC7F+hpliGybQPgKDInnIhxIrem+7ayd7MoE1y+w5jz/fV4S9389ySbi4DjfIatgFuRpfEwIpr2VvHZ6wAK95TdIII0YtucIraz69SMFOhAxeaG78DRZZ4ShNMGn3s0XONTgaJxwgF1zQ17zXx8QDzYvYttt/PjmTFKkGz6bStmLbbzHTjfkddiCWRoby+poeaBEibaw58U/0dZihw1hNGBePDEtdS/cDW7itqNoZ8lnhFGXKLGs9HKtvolszdXjv04dpEKVI4Xy7M7InzJBXkkK1eTGWMR2IWGzlxtsKIGxjLJGOKG9K8U2Pun1ho749f8O/jCkRGK6KRUR6flgkk1a5Dl9n+sTdKj/TQOrNJd5ISG22ZH9GgqHwT4AVmybhPdqDxhP3pOKYoEdEoZhcfOWIW7m4u8qVmzqfWC0txG3aAWL8mSWjRIuozpv2kqP7v4hV0vpiM7cFCYR19UFdBlIQlBym1M8TsikWUfkANroLhRh2UgN3NTuK9vDVg17gnokoai48oebZpX4yDqM276QM/i4djHwJSmrX49/Q4rsfPOUWMySX9VRV20Hw== breakds@gmail.com diff --git a/modules/backup-server.nix b/modules/backup-server.nix index f66b0b9..acc5553 100644 --- a/modules/backup-server.nix +++ b/modules/backup-server.nix @@ -18,7 +18,7 @@ let backups.dragon = { paths = [ "/home" "/opt" "/var" ]; - exclude = [ "/var/lib/lxd" ]; + exclude = [ "/var/lib/lxd" "/var/lib/borg" ]; doInit = true; repo = "borg@www.breakds.org:."; encryption = { @@ -59,6 +59,10 @@ in authorizedKeys = [ (builtins.readFile ../secrets/dragon-borg-ssh-key.pub) ]; path = [ "/var/lib/dragon" ]; }; + breakds = { + authorizedKeys = [ (builtins.readFile ../data/breakds.pub) ]; + path = [ "/var/lib/borg/breakds" ]; + }; pincer = { authorizedKeys = [ (builtins.readFile ../secrets/pincer-borg-ssh-key.pub) ]; path = [ "/var/lib/borg-pincer" ]; |