all repos — nixfiles @ d2ad59e9bdaa4dddba01079ab8176bcfb2cfddea

System and user configuration, managed by nix and home-manager

system/roles/video-library.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  config,
  ...
}:
{
  services.jellyfin = {
    enable = true;
  };

  services.caddy.virtualHosts = {
    "jf.${config.networking.domain}" = {
      extraConfig = ''
        reverse_proxy localhost:8096
      '';
    };
  };

  fileSystems."/srv/video" = {
    device = "172.16.129.30:/nas/6567/video";
    fsType = "nfs";
    options = [ "nofail" ];
  };
}