refactor(nixarr): move nixarr module into ooksmedia host module
This commit is contained in:
parent
d932c75062
commit
dd0a5d0ec6
5 changed files with 24 additions and 38 deletions
|
|
@ -4,9 +4,10 @@
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../profiles
|
||||
./nixarr.nix
|
||||
];
|
||||
|
||||
activeProfiles = ["base" "mediaServer" "gaming"];
|
||||
activeProfiles = ["base" "gaming"];
|
||||
|
||||
systemModules.user = {
|
||||
ooks.enable = true;
|
||||
|
|
|
|||
22
system/hosts/ooksmedia/nixarr.nix
Normal file
22
system/hosts/ooksmedia/nixarr.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue