From 77ed5e05bb764befc448e2448fb7d9e0992b3f42 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Fri, 26 Jul 2024 10:34:06 -0400 Subject: [PATCH] latest --- hosts/hl-minipc1.nix | 2 +- modules/hl-services/audiobookshelf.nix | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/hl-minipc1.nix b/hosts/hl-minipc1.nix index d367a4a..c38ea30 100644 --- a/hosts/hl-minipc1.nix +++ b/hosts/hl-minipc1.nix @@ -8,7 +8,7 @@ boot.loader.efi.canTouchEfiVariables = true; # Data fileSystems."/mnt/Data" = { - device = "/dev/sda1"; + device = "/dev/sdb1"; fsType = "ext4"; options = [ "nofail" ]; }; diff --git a/modules/hl-services/audiobookshelf.nix b/modules/hl-services/audiobookshelf.nix index bb1811d..cf9d9e5 100644 --- a/modules/hl-services/audiobookshelf.nix +++ b/modules/hl-services/audiobookshelf.nix @@ -17,6 +17,12 @@ in { type = types.str; }; + dataDir = mkOption { + description = "Path to Audiobookshelf config and metadata inside of /var/lib."; + default = "audiobookshelf"; + type = types.str; + }; + metadtaDir = mkOption { description = "Path to Audiobookshelf config folder";