NixOS-Config/nixos/package-configs/ombi/configuration.nix

27 lines
414 B
Nix

{
config,
pkgs,
...
}: {
users.users = {
ombi.extraGroups = ["radarr" "sonarr"];
};
#uses port 7878
services.ombi = {
enable = true;
port = 2368;
};
services.nginx = {
virtualHosts = {
"ombi.gladtherescake.eu" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:2386";
};
};
};
};
}