aboutsummaryrefslogtreecommitdiff
path: root/cluster/staging/node/piranha.nix
blob: 9ac2a07c475304b52be74bea17f8f97affcac732 (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:9900:223:24ff:feb0:ea82";

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

  system.stateVersion = "22.11";
}