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

17 lines
303 B
Nix

{ config, pkgs, ... }:
{
system.stateVersion = "21.05";
networking.interfaces.eth0.useDHCP = true;
fileSystems."/mnt/storage" = {
device = "storage:/mnt/storage";
fsType = "nfs";
};
services.sonarr = {
enable = true;
dataDir = "/data/sonarr";
openFirewall = true;
};
}