file cleanup, conditional motd
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user