This commit is contained in:
2025-10-26 19:24:22 +03:00
parent 1d799400ae
commit 1fb701aefa
3 changed files with 28 additions and 16 deletions
+7 -7
View File
@@ -29,13 +29,13 @@ in
};
};
fileSystems."${config.services.immich.mediaLocation}" = {
device = "${xlib.dirs.services-folder}/immich";
options = [
"bind"
"nofail"
];
};
# fileSystems."${config.services.immich.mediaLocation}" = {
# device = "${xlib.dirs.services-folder}/immich";
# options = [
# "bind"
# "nofail"
# ];
# };
systemd.tmpfiles.rules = [
"z ${config.services.immich.mediaLocation} 0755 immich immich -"
+7 -7
View File
@@ -163,13 +163,13 @@ in
};
};
fileSystems."${config.services.nextcloud.home}" = {
device = "${xlib.dirs.services-folder}/nextcloud";
options = [
"bind"
"nofail"
];
};
# fileSystems."${config.services.nextcloud.home}" = {
# device = "${xlib.dirs.services-folder}/nextcloud";
# options = [
# "bind"
# "nofail"
# ];
# };
systemd.tmpfiles.rules = [
"z ${config.services.nextcloud.home} 0750 nextcloud nextcloud -"
+14 -2
View File
@@ -1,8 +1,9 @@
{
config,
inputs,
lib,
pkgs,
inputs,
xlib,
...
}:
let
@@ -11,5 +12,16 @@ let
};
in
{
services.postgresql.package = pkgs.postgresql_17;
services = {
postgresql = {
enable = true;
package = pkgs.postgresql_17;
dataDir = "${xlib.dirs.services-mnt-folder}/postgresql/${config.services.postgresql.package.psqlSchema}";
};
# postgresqlBackup.enable = true;
};
systemd.tmpfiles.rules = [
"z ${config.services.postgresql.dataDir} 0760 postgres postgres -"
];
}