refactor(nixos:nixarr): move nixarr module to ooksmedia/modules

This commit is contained in:
ooks-io 2024-06-14 20:55:11 +12:00
parent 3fc02285d3
commit 3ccb3b740a
5 changed files with 11 additions and 3 deletions

View file

@ -4,7 +4,6 @@
./dbus.nix
./gnome.nix
./gvfs.nix
# ./nixarr.nix
./flatpak.nix
];
}

View file

@ -1,29 +0,0 @@
{ config, inputs, lib, ... }:
let
inherit (lib) mkIf;
admin = config.ooknet.host.admin;
cfg = config.ooknet.services.nixarr;
in
{
imports = [ inputs.nixarr.nixosModules.default ];
config = mkIf cfg.enable {
nixarr = {
enable = true;
mediaDir = "/jellyfin";
stateDir = "/var/lib/nixarr";
mediaUsers = ["${admin.name}"];
jellyfin.enable = true;
sonarr.enable = true;
radarr.enable = true;
prowlarr.enable = true;
transmission.enable = true;
};
fileSystems."/jellyfin" = {
device = "/dev/disk/by-label/jellyfin";
fsType = "btrfs";
};
};
}