1
0

hosts/palladium: prevent borg filling up root partition

This commit is contained in:
2023-04-23 15:00:42 +02:00
parent 882df0098f
commit 93f1fa77e0
2 changed files with 9 additions and 0 deletions

View File

@@ -9,6 +9,9 @@ let
${pkgs.cryptsetup}/bin/cryptsetup luksOpen ''${DEVICE} external-drive
mkdir -p /mnt/external-drive
mount /dev/mapper/external-drive /mnt/external-drive
mkdir -p /mnt/external-drive/clerie-backup
chown borg:borg -R /mnt/external-drive/clerie-backup
'';
cb-unmount = pkgs.writeScriptBin "cb-unmount" ''