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

{ config, pkgs, ... }:

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

  networking.hostName = "piranha";

  deuxfleurs.network_interface = "eno1";
  deuxfleurs.lan_ip = "192.168.1.25";
  deuxfleurs.ipv6 = "2a01:cb05:8984:3c00:223:24ff:feb0:ea82";

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

  system.stateVersion = "22.11";
}