refactor(nixarr): move nixarr module into ooksmedia host module

This commit is contained in:
ooks-io 2024-04-13 18:43:43 +12:00
parent d932c75062
commit dd0a5d0ec6
5 changed files with 24 additions and 38 deletions

View file

@ -4,9 +4,10 @@
imports = [
./hardware-configuration.nix
../../profiles
./nixarr.nix
];
activeProfiles = ["base" "mediaServer" "gaming"];
activeProfiles = ["base" "gaming"];
systemModules.user = {
ooks.enable = true;

View file

@ -0,0 +1,22 @@
{ inputs, ... }:
{
imports = [ inputs.nixarr.nixosModules.default ];
nixarr = {
enable = true;
mediaDir = "/jellyfin";
stateDir = "/var/lib/nixarr";
mediaUsers = ["ooks"];
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";
};
}