aboutsummaryrefslogtreecommitdiff
path: root/cluster/staging/node/caribou.nix
blob: caa55fac41aa7067cd42002473f6782105d273e4 (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
# Configuration file local to this node

{ config, pkgs, ... }:

{
  imports =
    [
      ./remote-unlock.nix
    ];

  # Use the systemd-boot EFI boot loader.
  boot.loader.systemd-boot.enable = true;
  boot.loader.timeout = 20;
  boot.loader.efi.canTouchEfiVariables = true;

  networking.hostName = "caribou";

  deuxfleurs.network_interface = "eno1";
  deuxfleurs.lan_ip = "192.168.1.23";
  deuxfleurs.ipv6 = "2001:910:1204:1::23";

  deuxfleurs.cluster_ip = "10.14.1.3";
  deuxfleurs.is_raft_server = true;

  # Open SSB port
  networking.firewall.allowedTCPPorts = [ 8008 ];
}