Feature: radrarr module
This commit is contained in:
@@ -12,7 +12,7 @@ in
|
||||
dev_apps = true;
|
||||
gnome_apps = true;
|
||||
};
|
||||
prowlarr.enable = true;
|
||||
radarr.enable = true;
|
||||
};
|
||||
|
||||
my.hardware = {
|
||||
|
||||
@@ -5,5 +5,6 @@
|
||||
./hyprland
|
||||
./zsh
|
||||
./prowlarr
|
||||
./radarr
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
# manages and downloads films
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.profiles.radarr;
|
||||
# domain = config.networking.domain;
|
||||
# port = 7878;
|
||||
in
|
||||
{
|
||||
options.my.profiles.radarr = with lib; {
|
||||
enable = mkEnableOption "Sonarr for films management";
|
||||
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.radarr = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
my.profiles.prowlarr.enable = true;
|
||||
|
||||
systemd.services.radarr = {
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user