summary refs log tree commit diff
path: root/configuration/specimen.nix
blob: 53732b9aaa50fe580762e5a87e8707581423ba5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config, ... }:

{
  age.secrets.name = {
    file = ../secrets/name.age;
    owner = "specimen";
    group = "specimen";
    mode = "440";
  };

  services.specimen = {
    enable = true;

    listenAddress = "0.0.0.0";
    port = 4444;
    openFirewall = true;

    namePath = config.age.secrets.name.path;
  };
}