elendel: Tweak datasets and backups
This commit is contained in:
parent
2c02168a3a
commit
9e04ebf0ae
4 changed files with 18 additions and 4 deletions
|
@ -48,6 +48,18 @@
|
||||||
fast = true;
|
fast = true;
|
||||||
location = "marabethia.vanpetegem.me";
|
location = "marabethia.vanpetegem.me";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
path = "zroot/safe/services/accentor";
|
||||||
|
remotePath = "zroot/recv/elendel/safe/services/accentor";
|
||||||
|
fast = true;
|
||||||
|
location = "marabethia.vanpetegem.me";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
path = "zroot/safe/services/postgresql";
|
||||||
|
remotePath = "zroot/recv/elendel/safe/services/postgresql";
|
||||||
|
fast = true;
|
||||||
|
location = "marabethia.vanpetegem.me";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
path = "zroot/safe/services/transmission";
|
path = "zroot/safe/services/transmission";
|
||||||
remotePath = "zroot/recv/elendel/safe/services/transmission";
|
remotePath = "zroot/recv/elendel/safe/services/transmission";
|
||||||
|
@ -73,5 +85,4 @@
|
||||||
torrents.enable = true;
|
torrents.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.postgresql.dataDir = lib.mkForce "/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}";
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
"/var/lib/accentor" = {
|
"/var/lib/accentor" = {
|
||||||
device = "zroot/local/services/accentor";
|
device = "zroot/safe/services/accentor";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
"/var/lib/accentor/transcodes" = {
|
"/var/lib/accentor/transcodes" = {
|
||||||
|
@ -71,6 +71,10 @@
|
||||||
device = "zroot/local/services/docker";
|
device = "zroot/local/services/docker";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
"/var/lib/postgresql" = {
|
||||||
|
device = "zroot/safe/services/postgresql";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
"/var/lib/transmission" = {
|
"/var/lib/transmission" = {
|
||||||
device = "zroot/safe/services/transmission";
|
device = "zroot/safe/services/transmission";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
|
|
@ -152,5 +152,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.msmtp.enable = false;
|
programs.msmtp.enable = false;
|
||||||
services.postgresql.dataDir = lib.mkForce "/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}";
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,6 @@
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
package = pkgs.postgresql_15;
|
package = pkgs.postgresql_15;
|
||||||
dataDir = "${config.chvp.dataPrefix}/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}";
|
dataDir = "/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue