Feature: Prowlarr module
This commit is contained in:
@@ -12,6 +12,7 @@ in
|
|||||||
dev_apps = true;
|
dev_apps = true;
|
||||||
gnome_apps = true;
|
gnome_apps = true;
|
||||||
};
|
};
|
||||||
|
prowlarr.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
my.hardware = {
|
my.hardware = {
|
||||||
|
|||||||
@@ -4,5 +4,6 @@
|
|||||||
./apps
|
./apps
|
||||||
./hyprland
|
./hyprland
|
||||||
./zsh
|
./zsh
|
||||||
|
./prowlarr
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# manages indexes
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.my.profiles.prowlarr;
|
||||||
|
# domain = config.networking.domain;
|
||||||
|
# port = 9696;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.my.profiles.prowlarr = with lib; {
|
||||||
|
enable = mkEnableOption "Prowlarr for indexing";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.prowlarr = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
# # ugly fix for service not having a homedirectory
|
||||||
|
# users.users.prowlarr = {
|
||||||
|
# isSystemUser = true;
|
||||||
|
# home = "/var/lib/prowlarr";
|
||||||
|
# group = "prowlarr";
|
||||||
|
# uid = 61654;
|
||||||
|
# };
|
||||||
|
# users.groups.prowlarr = {
|
||||||
|
# gid = 61654;
|
||||||
|
# };
|
||||||
|
|
||||||
|
systemd.services.prowlarr = {
|
||||||
|
after = [ "network-online.target" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user