feat: move glance to arcturus

This commit is contained in:
tux
2025-03-16 03:07:17 +05:30
parent 5c662fd5be
commit 1b2a07afbc
3 changed files with 22 additions and 17 deletions

View File

@ -1,4 +1,9 @@
{username, ...}: let
{
username,
lib,
config,
...
}: let
home = import ./home.nix;
in {
services = {
@ -19,20 +24,20 @@ in {
};
};
# nginx = {
# enable = lib.mkForce true;
# virtualHosts = {
# "dashboard.tux.rs" = {
# forceSSL = true;
# useACMEHost = "tux.rs";
# locations = {
# "/" = {
# proxyPass = "http://${config.services.glance.settings.server.host}:${toString config.services.glance.settings.server.port}";
# proxyWebsockets = true;
# };
# };
# };
# };
# };
nginx = {
enable = lib.mkForce true;
virtualHosts = {
"home.tux.rs" = {
forceSSL = true;
useACMEHost = "tux.rs";
locations = {
"/" = {
proxyPass = "http://${config.services.glance.settings.server.host}:${toString config.services.glance.settings.server.port}";
proxyWebsockets = true;
};
};
};
};
};
};
}