This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

machines ubik: use clan facts for nextcloud pw

+10 -1
+10 -1
machines/ubik/config.nix
··· 34 34 https = true; 35 35 maxUploadSize = "9001M"; 36 36 }; 37 + clanCore.facts.services.nextcloud-pw = { 38 + secret."nextcloud.pw" = { }; 39 + generator.script = '' 40 + echo "$prompt_value" > "$secrets"/nextcloud.pw 41 + ''; 42 + generator.prompt = '' 43 + please enter the nextcloud admin password: 44 + ''; 45 + }; 37 46 systemd.services.nextcloud-setup.serviceConfig.ExecStartPre = [ 38 47 "+${pkgs.writeDash "copy-pw" '' 39 48 ${pkgs.rsync}/bin/rsync \ 40 49 --chown nextcloud:nextcloud \ 41 50 --chmod 0700 \ 42 - /var/src/secrets/nextcloud.pw /run/nextcloud.pw 51 + ${config.clanCore.facts.services.nextcloud-pw.secret."nextcloud.pw".path} /run/nextcloud.pw 43 52 ''}" 44 53 ]; 45 54