One more if

This commit is contained in:
Inex Code 2022-07-13 14:48:53 +03:00
parent 7293337546
commit b8bdb65e6d

View file

@ -36,7 +36,7 @@ in
}; };
nextcloud = { nextcloud = {
enable = (if jsonData ? "nextcloud.enable" then jsonData.nextcloud.enable else false); enable = (if jsonData ? "nextcloud.enable" then jsonData.nextcloud.enable else false);
adminPassword = (jsonData ? "nextcloud.adminPassword" then jsonData.nextcloud.adminPassword else null); adminPassword = (if jsonData ? "nextcloud.adminPassword" then jsonData.nextcloud.adminPassword else null);
}; };
pleroma = { pleroma = {
enable = (if jsonData ? "pleroma.enable" then jsonData.pleroma.enable else false); enable = (if jsonData ? "pleroma.enable" then jsonData.pleroma.enable else false);