summary refs log tree commit diff
path: root/host/Rory-nginx/services/containers/draupnir-cme/container.nix
blob: 84bacc055cd16a534dd9a4191986e9d95bdad578 (plain) (blame)
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
26
27
28
29
30
31
{
  pkgs,
  lib,
  ...
}:

{
  privateNetwork = true;
  autoStart = true;
  specialArgs = {
  };
  config =
    {
      lib,
      pkgs,
      ...
    }:
    {
      imports = [ ./root.nix ];
    };
  hostAddress = "192.168.100.16";
  localAddress = "192.168.100.17";
  hostAddress6 = "fc00::3";
  localAddress6 = "fc00::4";

  bindMounts."draupnir-access-token" = {
    hostPath = "/etc/draupnir-cme-access-token";
    mountPoint = "/etc/draupnir-access-token";
    isReadOnly = true;
  };
}