mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
123
This commit is contained in:
@@ -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 -"
|
||||||
|
|||||||
@@ -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 -"
|
||||||
|
|||||||
@@ -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 -"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user