summaryrefslogtreecommitdiff
path: root/hosts/vidhar/audiobookshelf/default.nix
blob: 136bcaff70bdcf072315b39f055e418e75498313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, pkgs, lib, ... }:

{
  config = {
    services.audiobookshelf = {
      enable = true;
      host = "2a03:4000:52:ada:4:1::";
      port = 28982;
    };

    users.groups.audiobookshelf.members = [ "gkleen" ];

    services.abs-podcast-autoplaylist = {
      gkleen = {};
    };
    sops.secrets.${config.services.abs-podcast-autoplaylist.gkleen.configSecret} = {
      format = "binary";
      sopsFile = ./abs-podcast-autoplaylist-gkleen.toml;
    };
  };
}