Update sound.nix, and ozai

This commit is contained in:
Adrian G L 2024-08-30 01:58:26 +02:00 committed by Adrian G L
parent 2aa4242d34
commit b0248a8881
5 changed files with 17 additions and 14 deletions

View File

@ -12,8 +12,6 @@
stylix.inputs.nixpkgs.follows = "nixpkgs";
stylix.inputs.home-manager.follows = "home-manager";
ozai.url = "git+https://git.pvv.ntnu.no/Projects/ozai.git";
ozai.inputs.nixpkgs.follows = "unstable";
ozai-webui.url = "git+https://git.pvv.ntnu.no/adriangl/ozai-webui.git";
@ -134,6 +132,8 @@
./machines/elrond/configuration.nix
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
sops-nix.nixosModules.sops
inputs.ozai.nixosModules.ozai
inputs.ozai-webui.nixosModules.ozai-webui
];
};
};

View File

@ -10,6 +10,7 @@
../../profiles/webhost.nix
../../profiles/base.nix
../../services/gate.nix
../../services/ozai.nix
./routes.nix
];

View File

@ -79,12 +79,22 @@
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
};
#virtualHosts."azul.256.no" = {
# forceSSL = true;
# useACMEHost = config.networking.domain;
# locations."/" = {
# proxyWebsockets = true;
# proxyPass = "http://100.84.215.84:8085";
# };
# #basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
#};
virtualHosts."azul.256.no" = {
forceSSL = true;
useACMEHost = config.networking.domain;
locations."/" = {
proxyWebsockets = true;
proxyPass = "http://100.84.215.84:8085";
proxyPass = "http://localhost:8085";
};
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
};

View File

@ -22,7 +22,7 @@
../../services/wordpress.nix
../../services/torrent.nix
../../services/mc.nix
../../services/ozai.nix
#../../services/ozai.nix
#../../services/stableDiffusion.nix
../../services/rss.nix
../../services/shiori.nix

View File

@ -11,12 +11,4 @@
host = "0.0.0.0";
};
services.nginx.virtualHosts."ozai.${config.networking.hostName}.${config.networking.domain}" = {
forceSSL = true;
#useACMEHost = config.networking.domain; #not sure if this will work, unless
locations."/" = {
proxyWebsockets = true;
proxyPass = "http://${config.services.ozai.host}:${config.services.ozai.port}";
};
};
}