Kernel modules troubleshoot
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# manages and downloads films
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.profiles.audiobookshelf;
|
||||
in
|
||||
{
|
||||
options.my.profiles.audiobookshelf = with lib; {
|
||||
enable = mkEnableOption "Audio Book Service";
|
||||
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.audiobookshelf = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
port = 63834;
|
||||
host = "0.0.0.0";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
audiobookshelf
|
||||
];
|
||||
|
||||
systemd.services.audiobookshelf = {
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user