Move nextcloud to large storage

This commit is contained in:
Charlotte Van Petegem 2022-02-04 22:18:56 +01:00
parent 08f493321c
commit eeba455caa
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 18 additions and 6 deletions

View file

@ -28,12 +28,20 @@
};
nix.enableDirenv = false;
zfs = {
backups = [{
path = "zroot/safe/data";
remotePath = "zdata/recv/lasting-integrity/safe/data";
fast = true;
location = "192.168.0.1";
}];
backups = [
{
path = "zroot/safe/data";
remotePath = "zdata/recv/lasting-integrity/safe/data";
fast = true;
location = "192.168.0.1";
}
{
path = "zdata/big-apps/nextcloud";
remotePath = "zdata/recv/lasting-integrity/big-apps/nextcloud";
fast = true;
location = "192.168.0.1";
}
];
rootDataset = "zroot/local/root";
};
};

View file

@ -42,6 +42,10 @@
fsType = "zfs";
neededForBoot = true;
};
"/data/var/lib/nextcloud" = {
device = "zdata/big-apps/nextcloud";
fsType = "zfs";
};
"/cache" = {
device = "zroot/safe/cache";
fsType = "zfs";