my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
12
fork

Configure Feed

Select the types of activity you want to include in your feed.

nixos/services/radarr: init

+29
+1
modules/nixos/services/default.nix
··· 24 24 ./piper.nix 25 25 ./port-collector.nix 26 26 ./postgresql.nix 27 + ./radarr.nix 27 28 ./redis.nix 28 29 ./uptime-kuma.nix 29 30 ./vaultwarden.nix
+28
modules/nixos/services/radarr.nix
··· 1 + { 2 + lib, 3 + self, 4 + config, 5 + ... 6 + }: 7 + let 8 + inherit (lib) mkIf; 9 + inherit (self.lib) mkServiceOption; 10 + 11 + cfg = config.garden.services.radarr; 12 + in 13 + { 14 + options.garden.services.radarr = mkServiceOption "radarr" { 15 + port = 3021; 16 + }; 17 + 18 + config = mkIf config.garden.services.radarr.enable { 19 + services.radarr = { 20 + inherit (cfg) enable; 21 + group = "media"; 22 + dataDir = "/srv/storage/ranarr"; 23 + openFirewall = true; 24 + 25 + settings.server.port = cfg.port; 26 + }; 27 + }; 28 + }