mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-06 09:46:34 +05:30
feat: move glance to arcturus
This commit is contained in:
@ -31,6 +31,7 @@
|
||||
../../modules/nixos/selfhosted/rustdesk-server.nix
|
||||
../../modules/nixos/selfhosted/kasmweb.nix
|
||||
../../modules/nixos/selfhosted/open-webui.nix
|
||||
../../modules/nixos/selfhosted/glance
|
||||
];
|
||||
|
||||
tux.services.openssh.enable = true;
|
||||
|
@ -16,7 +16,6 @@
|
||||
../../modules/nixos/desktop
|
||||
../../modules/nixos/virtualisation/docker.nix
|
||||
../../modules/nixos/selfhosted/open-webui.nix
|
||||
../../modules/nixos/selfhosted/glance
|
||||
];
|
||||
|
||||
tux.services.openssh.enable = true;
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user