file cleanup, conditional motd

This commit is contained in:
2026-06-14 08:35:44 -05:00
parent fcb8961c69
commit 11d3fcd8ec
27 changed files with 407 additions and 409 deletions
+1 -4
View File
@@ -42,7 +42,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = "immich-server";
default = if cfg.enable then "immich-server" else null;;
};
library_sync_dir = lib.mkOption {
type = lib.types.str;
@@ -78,7 +78,6 @@ in {
host = "0.0.0.0";
port = cfg.port;
settings = null;
#settings.server.externalDomain = "https://photos.blakedheld.xyz";
};
# too lazy to add an option, this is on the storage pool now anyway
@@ -138,8 +137,6 @@ in {
];
# add postgresql database that is automatically created to the backup list
#services.postgresqlBackup.databases = ["immich"]; # set to all databases defined in esure databases
services.postgresql.ensureDatabases = [service]; # set to all databases defined in esure databases
# add to backups