feat(nixarr): add nixarr input
This commit is contained in:
parent
b3a6c319f3
commit
4b3ad8917a
4 changed files with 192 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{ lib, config, inputs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.systemModules.services.nixarr;
|
||||
|
|
@ -8,11 +8,14 @@ in
|
|||
{
|
||||
options.systemModules.services.nixarr.enable = mkEnableOption "Enable nixarr module";
|
||||
|
||||
imports = [ inputs.nixarr.nixosModules.default ];
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
nixarr = {
|
||||
enable = true;
|
||||
mediaDir = "/jellyfin";
|
||||
stateDir = "/var/lib/nixarr";
|
||||
mediaUsers = ["ooks"];
|
||||
|
||||
jellyfin.enable = true;
|
||||
sonarr.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue