mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-23 03:51:29 +00:00
a98dafc98c
Previously, second mkIf for cleanup case took precedence when merge with `//`. Now it's 2 modules: one for selfprivacy.modules.nextcloud.enable == true, another for selfprivacy.modules.nextcloud.enable == false.
8 lines
240 B
Nix
8 lines
240 B
Nix
config: rec {
|
|
sp = config.selfprivacy;
|
|
secrets-filepath = "/etc/selfprivacy/secrets.json";
|
|
db-pass-filepath = "/var/lib/nextcloud/db-pass";
|
|
admin-pass-filepath = "/var/lib/nextcloud/admin-pass";
|
|
hostName = "cloud.${sp.domain}";
|
|
}
|