Your one-stop-cake-shop for everything Freshly Baked has to offer

feat(pm/redhead): add nextcloud-docker-dev

I'm using https://github.com/juliusknorr/nextcloud-docker-dev to test
some changes to a nextcloud plugin, as the plugin needs a more recent
version of Nextcloud than is in nixpkgs.

To be available, I need to set up my hosts file correctly and forward
this over nginx for my other devices.

authored by a.starrysky.fyi and committed by a.starrysky.fyi 39578315 c0ec411a

Changed files
+74
packetmix
+68
packetmix/systems/redhead/nextcloud-docker-dev.nix
···
··· 1 + # SPDX-FileCopyrightText: 2025 Collabora Productivity Limited 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 + { 6 + networking.hosts = { 7 + "127.0.0.1" = [ 8 + "nextcloud.local" 9 + "nextcloud2.local" 10 + "nextcloud3.local" 11 + "stable16.local" 12 + "stable17.local" 13 + "stable18.local" 14 + "stable19.local" 15 + "stable20.local" 16 + "stable21.local" 17 + "stable22.local" 18 + "stable23.local" 19 + "stable24.local" 20 + "stable25.local" 21 + "stable26.local" 22 + "stable27.local" 23 + "stable28.local" 24 + "stable29.local" 25 + "stable30.local" 26 + "stable31.local" 27 + "stable32.local" 28 + "mail.local" 29 + "sso.local" 30 + "imap.local" 31 + "collabora.local" 32 + "codedev.local" 33 + "onlyoffice.local" 34 + "proxy.local" 35 + "hpb.local" 36 + "push.local" 37 + "keycloak.local" 38 + "portal.local" 39 + "gs1.local" 40 + "gs2.local" 41 + "lookup.local" 42 + "elasticsearch.local" 43 + "elasticsearch-ui.local" 44 + "pgadmin.local" 45 + "phpmyadmin.local" 46 + "talk-signaling.local" 47 + "talk-recording.local" 48 + ]; 49 + }; 50 + 51 + services.nginx.virtualHosts."nextcloud.docker.dev.redhead.starrysky.fyi" = { 52 + addSSL = true; 53 + enableACME = true; 54 + acmeRoot = null; 55 + 56 + locations."/" = { 57 + proxyPass = "http://127.0.0.1:8062"; 58 + recommendedProxySettings = true; 59 + proxyWebsockets = true; 60 + }; 61 + }; 62 + 63 + security.acme.certs."nextcloud.docker.dev.redhead.starrysky.fyi" = { 64 + dnsProvider = "cloudflare"; 65 + environmentFile = "/secrets/acme/environmentFile"; 66 + email = "skyler.grey@collabora.com"; 67 + }; 68 + }
+6
packetmix/systems/redhead/nextcloud.nix
··· 68 email = "skyler.grey@collabora.com"; 69 }; 70 71 services.nginx.virtualHosts."collabora.dev.redhead.starrysky.fyi" = { 72 addSSL = true; 73 enableACME = true;
··· 68 email = "skyler.grey@collabora.com"; 69 }; 70 71 + networking.firewall.allowedTCPPorts = [ 72 + 80 73 + 443 74 + 9980 75 + ]; 76 + 77 services.nginx.virtualHosts."collabora.dev.redhead.starrysky.fyi" = { 78 addSSL = true; 79 enableACME = true;