summaryrefslogtreecommitdiffstats
path: root/usecases/server/shiori.nix
blob: 6c9a09d5c0e08808dac97ed170c2018a9fc2f82f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
inputs:

{ config, ... }:

{
  services.shiori = {
    enable = true;
    port = 8081;
  };

  networking.firewall.interfaces.${config.topology.mainVpn.interfaceName}.allowedTCPPorts = [
    config.services.shiori.port
  ];
}