infrastructure/nixos/hosts/hades/overseerr/configuration.nix

42 lines
1.4 KiB
Nix
Raw Normal View History

2022-11-05 13:26:05 +01:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
imports = [ ];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "22.11"; # Did you read the comment?
# Additional packages
2023-01-10 16:13:29 +01:00
# environment.systemPackages = with pkgs; [ ];
2022-11-05 13:26:05 +01:00
networking.firewall.allowedTCPPorts = [ 5055 ];
virtualisation.podman.enable = true;
2022-12-30 02:26:55 +01:00
# TODO: Write NixOS package https://github.com/NixOS/nixpkgs/issues/135885
2022-11-05 13:26:05 +01:00
virtualisation.oci-containers = {
backend = "podman";
containers = {
overseerr = {
2022-12-30 02:26:55 +01:00
image = "ghcr.io/sct/overseerr:1.31.0";
2022-11-05 13:26:05 +01:00
environment = {
2022-12-30 02:26:55 +01:00
# LOG_LEVEL = "debug";
2022-11-05 13:26:05 +01:00
TZ = "Europe/Amsterdam";
};
ports = [
"5055:5055"
];
volumes = [ "/var/lib/overseerr/config:/app/config" ];
};
};
};
}