diff options
| author | Fuwn <[email protected]> | 2024-09-15 19:40:38 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-15 19:40:38 -0700 |
| commit | f65c064e28dbf06c32317fdb43b547873141699e (patch) | |
| tree | e7cf1c48077167feef9617cee11f5e55988c2240 | |
| parent | home: rui (diff) | |
| download | nixos-config-f65c064e28dbf06c32317fdb43b547873141699e.tar.xz nixos-config-f65c064e28dbf06c32317fdb43b547873141699e.zip | |
home: add glance
| -rw-r--r-- | home/ebisu/fortune/networking/default.nix | 6 | ||||
| -rw-r--r-- | modules/networking/caddy.nix | 12 |
2 files changed, 14 insertions, 4 deletions
diff --git a/home/ebisu/fortune/networking/default.nix b/home/ebisu/fortune/networking/default.nix index 90336f5..2f09b06 100644 --- a/home/ebisu/fortune/networking/default.nix +++ b/home/ebisu/fortune/networking/default.nix @@ -7,5 +7,9 @@ ]; home.packages = [ pkgs.i2p ]; - services.tailray.enable = true; + + services = { + tailray.enable = true; + glance.enable = true; + }; } diff --git a/modules/networking/caddy.nix b/modules/networking/caddy.nix index e2880db..de6b9c4 100644 --- a/modules/networking/caddy.nix +++ b/modules/networking/caddy.nix @@ -2,8 +2,14 @@ services.caddy = { enable = true; - virtualHosts."i2pd.localhost".extraConfig = '' - reverse_proxy localhost:7070 - ''; + virtualHosts = { + "i2pd.localhost".extraConfig = '' + reverse_proxy localhost:7070 + ''; + + "glance.localhost".extraConfig = '' + reverse_proxy localhost:8080 + ''; + }; }; } |