Personal-use NixOS configuration
0
fork

Configure Feed

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

Begin work on linkwarden module

encode42 62f7c2ad c7fd6a3a

+41
+25
hosts/index/config/web/linkwarden.nix
··· 1 + { flakeRoot, ... }: 2 + 3 + let 4 + linkwardenModule = import (flakeRoot + /packages/server/web/linkwarden.nix) { 5 + hosts = [ 6 + { 7 + name = "linkwarden.lan"; 8 + ssl = "internal"; 9 + } 10 + { 11 + name = "archive.encrypted.group"; 12 + ssl = "cloudflare"; 13 + 14 + useLocal = true; 15 + } 16 + ]; 17 + }; 18 + in 19 + { 20 + imports = [ 21 + linkwardenModule 22 + ]; 23 + 24 + services.linkwarden.environmentFile = "/mnt/apps/linkwarden/linkwarden.env"; 25 + }
+1
hosts/index/default.nix
··· 44 44 45 45 ./config/web/caddy.nix 46 46 ./config/web/forgejo.nix 47 + #./config/web/linkwarden.nix 47 48 ./config/web/miniflux.nix 48 49 ./config/web/searx.nix 49 50 ./config/web/vaultwarden.nix
+15
packages/server/web/linkwarden.nix
··· 1 + { 2 + hosts ? [ ], 3 + }: 4 + 5 + { config, flakeLib, ... }: 6 + 7 + { 8 + services.linkwarden = { 9 + enable = true; 10 + }; 11 + 12 + services.caddy.virtualHosts = flakeLib.mkProxies hosts '' 13 + reverse_proxy :${toString config.services.linkwarden.port} 14 + ''; 15 + }