katja's git: nixfiles

ctucx' nixfiles

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 
32 
33 {

  system          = "x86_64-linux";

  sshPubKey       = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIILONdCJED/Lmd215tO8KBkJSl1E9ZdMyC+syxSqmo7o";

  mainInterface   = "ens3";

  ip4IsPrivate    = false;
  ip4Address      = "194.59.205.194";
  ip4PrefixLength = 22;
  defaultGateway4 = "194.59.204.1";

  ip6IsPrivate    = false;
  ip6Address      = "2a03:4000:34:23e::1";
  ip6PrefixLength = 64;
  defaultGateway6 = "fe80::1";

  configuration   = { node, secrets, config, dnsNix, ctucxConfig, lib, pkgs, ... }: {

    imports = [
      ./hardware-configuration.nix

      ctucxConfig.services.prometheus-exporters
      ctucxConfig.services.dns-server
    ];

    system.stateVersion = "24.11";
    home-manager.users.katja.home.stateVersion = "24.11";

  };

}