This commit is contained in:
Philipp Hochkamp 2022-08-11 21:43:01 +02:00
parent 3551af3246
commit f384de4b24
2 changed files with 6 additions and 5 deletions

View file

@ -27,8 +27,8 @@ in
datasets = {
backups = "rpool/content/local/backups";
data = "rpool/content/safe/data";
ds9persist = "rpool/content/safe/persist";
hassosvm = "rpool/content/safe/vms/hassos";
ds9persist = "spool/safe/persist";
hassosvm = "spool/safe/vms/hassos";
};
in
builtins.mapAttrs (n: v: { target = "backup/${n}"; source = v; sendOptions = "w"; }) datasets;
@ -50,6 +50,7 @@ in
enable = true;
postCommands = ''
zpool import rpool
zpool import spool
echo "zfs load-key -a; killall zfs" >> /root/.profile
'';
ssh = {

View file

@ -17,9 +17,9 @@
mediadata = false;
swap = false;
persistentSnapshot = false;
nix = "rpool/content/local/nix";
varlog = "rpool/content/local/journal";
persistent = "rpool/content/safe/persist";
nix = "spool/local/nix";
varlog = "spool/local/journal";
persistent = "spool/safe/persist";
arcSize = 8;
};