aux-config/modules/nixos/services/nas/default.nix
kB01 57a2d11ae6
Some checks are pending
/ Check NixOS Configuration (push) Waiting to run
Added Configuration for Audiobookshelf (does not evaluate yet)
2024-11-29 03:15:56 +01:00

29 lines
659 B
Nix

{ inputs, config, lib, pkgs, ... }:
let
cfg = config.services.nas;
in
{
imports = [
./traefik-proxy.nix
./audiobookshelf.nix
];
options.services.nas = {
enable = lib.mkOption {
type = with lib.types; uniq bool;
default = false;
description = "Enable NAS Server Configuration";
};
useTraefik.enable = lib.mkOption {
type = with lib.types; uniq bool;
default = true;
description = "Enables Traefik Reverese Proxy";
};
servers.audiobookshelf.enable = lib.mkOption {
type = with lib.types; uniq bool;
default = false;
description = "Audiobookshelf Server";
};
};
}