aboutsummaryrefslogtreecommitdiff
path: root/example.nix
blob: 249ae4ab86d6ffdcffdd0f98f4932dad3b41473b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ config, lib, pkgs, ... }:

{
  imports = [ ./module.nix ];

  services.uplcg = {
    enable = true;
    port = 8080;
    domain = "0.0.0.0";
    # cards = {
    #   generic = {
    #     enabled = true;
    #     black = [
    #       "_ and white _"
    #     ];
    #     white = [
    #       "blue"
    #       "green"
    #     ];
    #   };
    # };
  };

  networking.firewall.allowedTCPPorts = [ 8080 ];
}