My Nix Configuration
2
fork

Configure Feed

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

[marvin] update nextcloud config to remove unused apps

dish 94e552b8 a5b170a3

+1 -62
-44
hosts/marvin/services/nextcloud/default.nix
··· 8 8 }: 9 9 let 10 10 d = self.lib.data.services.nextcloud; 11 - i = self.lib.data.services.nextcloud-imaginary; 12 11 in 13 12 { 14 - imports = [ 15 - ./imaginary.nix 16 - ]; 17 13 services.nextcloud = { 18 14 enable = true; 19 15 package = pkgs.nextcloud32; ··· 36 32 default_phone_region = "US"; 37 33 overwriteprotocol = "https"; 38 34 trusted_proxies = [ "100.64.0.0/10" ]; 39 - # Preview Settings 40 - "preview_imaginary_url" = "http://localhost:${toString i.port}"; 41 - "preview_format" = "webp"; 42 - "preview_ffmpeg_path" = "${pkgs.ffmpeg-headless}/bin/ffmpeg"; 43 - "enabledPreviewProviders" = [ 44 - "OC\\Preview\\Font" 45 - "OC\\Preview\\Krita" 46 - "OC\\Preview\\MP3" 47 - "OC\\Preview\\MarkDown" 48 - "OC\\Preview\\MSOfficeDoc" 49 - "OC\\Preview\\OpenDocument" 50 - "OC\\Preview\\TXT" 51 - "OC\\Preview\\Imaginary" 52 - ]; 53 - # Memories Configuration 54 - "memories.exiftool" = "${pkgs.exiftool}/bin/exiftool"; 55 - "memories.exiftool_no_local" = true; 56 - # # Index Everything 57 - "memories.index.mode" = "1"; 58 - # # GIS Data in Postgres 59 - "memories.gis_type" = 2; 60 - # # Transcoding 61 - "memories.vod.disable" = false; 62 - "memories.vod.vaapi" = true; 63 - "memories.vod.nvenc" = false; 64 - "memories.vod.use_gop_size" = false; # NVENV-only 65 - "memories.vod.ffmpeg" = "${pkgs.ffmpeg-headless}/bin/ffmpeg"; 66 - "memories.vod.ffprobe" = "${pkgs.ffmpeg-headless}/bin/ffprobe"; 67 - "memories.vod.path" = "/var/lib/nextcloud/store-apps/memories/bin-ext/go-vod-amd64"; 68 - "memories.vod.external" = false; 69 - 70 - # Recognize Options 71 - "node_binary" = "${pkgs.nodejs_20}/bin/node"; 72 - "tensorflow.cores" = 6; 73 - "tensorflow.gpu" = false; 74 - "musicnn.enabled" = false; 75 - "movinet.enabled" = false; 76 - "faces.enable" = true; 77 - "imagenet.enabled" = true; 78 - "landmarks.enabled" = true; 79 35 }; 80 36 phpOptions = { 81 37 "opcache.interned_strings_buffer" = "32";
-13
hosts/marvin/services/nextcloud/imaginary.nix
··· 1 - { self, ... }: 2 - let 3 - d = self.lib.data.services.nextcloud-imaginary; 4 - in 5 - { 6 - services.imaginary = { 7 - inherit (d) port; 8 - enable = true; 9 - address = "localhost"; 10 - settings.return-size = true; 11 - settings.disable-endpoints = "form"; 12 - }; 13 - }
+1 -5
lib/data/services.toml
··· 6 6 # tsHost: (optional) What Tailscale host this service will run on, for services only available via Tailscale. 7 7 # # Should only be set if this is available externally, if at all, since TS-only services aren't able to be scraped. 8 8 # Current lowest unassigned service/anubis port: 6938/8410 9 - # Misc available ports: 6908-11, 6913, 6916-21, 6923-4, 6927, 6933 9 + # Misc available ports: 6908-11, 6913, 6916-21, 6923-4, 6927-8, 6933 10 10 # Misc Anubis available: 8401, 8407 11 11 12 12 [booklore] ··· 70 70 host = "marvin" 71 71 extUrl = "cloud.pyrox.dev" 72 72 anubis = 8406 73 - 74 - [nextcloud-imaginary] 75 - port = 6928 76 - host = "marvin" 77 73 78 74 [paperless] 79 75 port = 6902