summaryrefslogtreecommitdiff
path: root/modules/server/virtualisation/containers/pounce.nix
blob: 30e1f5f0f24cf1da3c3e99a3b01f54ca2c5b685f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, ... }:
{
  virtualisation.oci-containers.containers.pounce = {
    inherit (config.modules.containers) extraOptions;

    image = "fuwn/pounce";
    autoStart = true;
    volumes = [ "/mnt/docker/pounce:/root/.config/pounce" ];
    environment.USER = "fuwn";
    hostname = "pounce";

    ports =
      let
        port = builtins.toString 6697;
      in
      [ "${port}:${port}" ];
  };
}