aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/node/diplotaxis.nix
blob: e7435f2db372320c42e9f78fe9ab124ce4f9e733 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Configuration file local to this node

{ config, pkgs, ... }:

{
  # Use the GRUB 2 boot loader.
  boot.loader.grub.enable = true;
  boot.loader.grub.version = 2;
  boot.loader.grub.device = "/dev/nvme0n1"; # or "nodev" for efi only

  networking.hostName = "diplotaxis";

  deuxfleurs.network_interface = "enp0s31f6";
  deuxfleurs.lan_ip = "192.168.1.12";
  deuxfleurs.ipv6 = "2a01:e0a:28f:5e60::12";

  deuxfleurs.cluster_ip = "10.83.2.2";
  deuxfleurs.is_raft_server = true;
}