diff options
| author | Valentin <valentin@fricklerhandwerk.de> | 2026-10-26 09:55:46 +0100 |
|---|---|---|
| committer | Valentin <valentin@fricklerhandwerk.de> | 2026-10-26 09:59:59 +0100 |
| commit | 0ada1cec7a4a2e1863b86e21758452056be18146 (patch) | |
| tree | fba99843bf9ed026ac80a292bbbb6c823863bce9 /tharos | |
| parent | c3efc5834282290076ae509d11f1b61e8209df7e (diff) | |
Nixpkgs update
Auch entsprechende Nextcloud updates.
Diffstat (limited to 'tharos')
| -rw-r--r-- | tharos/nextcloud.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tharos/nextcloud.nix b/tharos/nextcloud.nix index 303688d..d838a9a 100644 --- a/tharos/nextcloud.nix +++ b/tharos/nextcloud.nix @@ -16,7 +16,7 @@ { services.nextcloud = { enable = true; - package = pkgs.nextcloud32; + package = pkgs.nextcloud33; hostName = "nextcloud.${self.domain}"; database.createLocally = true; config.dbtype = "pgsql"; @@ -56,16 +56,13 @@ /* Vor erstmaligem Anwenden der Konfiguration: - echo $PASSWORT | ssh tharos 'sudo install -m 600 /dev/stdin /var/lib/nextcloud/initialrootpassword' cat $SECRETS | ssh tharos 'sudo install -m 600 -o nextcloud -g nextcloud /dev/stdin /var/lib/nextcloud/secrets.json' - Die Dateien bleiben auf dem System! - Das einmalige Root-Passwort wird nicht wieder verwendet. + Die Datei bleibt auf dem System! Besser wäre natürlich zentralisiertes Management von geheimen Daten. */ secretFile = "/var/lib/nextcloud/secrets.json"; - config.adminpassFile = "/var/lib/nextcloud/initialrootpassword"; }; services.nginx.virtualHosts.${nextcloud} = { listen = [ @@ -95,7 +92,6 @@ systemd.tmpfiles.rules = [ "f /var/lib/nextcloud/secrets.json 0600 nextcloud nextcloud - {}" - "f /var/lib/nextcloud/initialrootpassword 0600 nextcloud nextcloud - root" ]; services.caddy.virtualHosts = { |
