This repository has no description
0

Configure Feed

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

machines.ubik: facts -> vars

+3 -17
+3 -17
machines/ubik/config.nix
··· 41 41 hostName = "c.apanowicz.de"; 42 42 package = pkgs.nextcloud30; 43 43 config.dbtype = "sqlite"; 44 - config.adminpassFile = "/run/nextcloud.pw"; 44 + config.adminpassFile = config.clan.core.vars.generators.nextcloud-pw.files.nextcloud-pw.path; 45 45 https = true; 46 46 maxUploadSize = "9001M"; 47 47 }; 48 - clanCore.facts.services.nextcloud-pw = { 49 - secret."nextcloud.pw" = { }; 50 - generator.script = '' 51 - echo "$prompt_value" > "$secrets"/nextcloud.pw 52 - ''; 53 - generator.prompt = '' 54 - please enter the nextcloud admin password: 55 - ''; 48 + clan.core.vars.generators.nextcloud-pw = { 49 + prompts.nextcloud-pw.persist = true; 56 50 }; 57 - systemd.services.nextcloud-setup.serviceConfig.ExecStartPre = [ 58 - "+${pkgs.writeDash "copy-pw" '' 59 - ${pkgs.rsync}/bin/rsync \ 60 - --chown nextcloud:nextcloud \ 61 - --chmod 0700 \ 62 - ${config.clanCore.facts.services.nextcloud-pw.secret."nextcloud.pw".path} /run/nextcloud.pw 63 - ''}" 64 - ]; 65 51 66 52 # mail 67 53 lass.usershadow.enable = true;