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}" = { # fileSystems."${config.services.immich.mediaLocation}" = {
device = "${xlib.dirs.services-folder}/immich"; # device = "${xlib.dirs.services-folder}/immich";
options = [ # options = [
"bind" # "bind"
"nofail" # "nofail"
]; # ];
}; # };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"z ${config.services.immich.mediaLocation} 0755 immich immich -" "z ${config.services.immich.mediaLocation} 0755 immich immich -"
+7 -7
View File
@@ -163,13 +163,13 @@ in
}; };
}; };
fileSystems."${config.services.nextcloud.home}" = { # fileSystems."${config.services.nextcloud.home}" = {
device = "${xlib.dirs.services-folder}/nextcloud"; # device = "${xlib.dirs.services-folder}/nextcloud";
options = [ # options = [
"bind" # "bind"
"nofail" # "nofail"
]; # ];
}; # };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"z ${config.services.nextcloud.home} 0750 nextcloud nextcloud -" "z ${config.services.nextcloud.home} 0750 nextcloud nextcloud -"
+14 -2
View File
@@ -1,8 +1,9 @@
{ {
config, config,
inputs,
lib, lib,
pkgs, pkgs,
inputs, xlib,
... ...
}: }:
let let
@@ -11,5 +12,16 @@ let
}; };
in 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 -"
];
} }