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

26 lines
404 B
Nix
Raw Normal View History

2024-01-03 22:51:17 +01:00
{
config,
pkgs,
...
}: {
users.users = {
2024-01-04 13:32:13 +01:00
ombi.extraGroups = ["radarr" "sonarr" "aria2"];
2024-01-03 22:51:17 +01:00
};
services.ombi = {
enable = true;
port = 2368;
};
services.nginx = {
virtualHosts = {
"ombi.gladtherescake.eu" = {
forceSSL = true;
enableACME = true;
locations."/" = {
2024-01-03 23:06:01 +01:00
proxyPass = "http://localhost:2368";
2024-01-03 22:51:17 +01:00
};
};
};
};
}