morn: configure glance

This commit is contained in:
2025-04-22 18:34:34 +02:00
parent 93783fe482
commit bca8a78af9
4 changed files with 120 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{ config, values, ... }:
{
services.glance = {
enable = true;
settings = import ./settings.nix;
};
services.nginx.virtualHosts."glance.home.feal.no" = let
inherit (config.services.glance.settings.server) host port;
in {
locations."/" = {
proxyPass = "http://${host}:${toString port}";
};
};
}