summaryrefslogtreecommitdiff
path: root/machines/iridium/default.nix
blob: 7f3a272dbe79201cc52cef0f836bcc7487b4371f (plain)
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
{ inputs, ... }:
let
  inherit (inputs.nixos-hardware.nixosModules)
    common-cpu-intel
    common-gpu-intel
    ;
in
{
  system.stateVersion = "24.11";
  networking.hostName = "iridium";

  imports = [ common-cpu-intel common-gpu-intel ];

  xnet = {
    disk = {
      enable = true;
      device = "/dev/nvme0n1";
    };
    net = {
      sshd.enable = true;
      interface = "enp1s0";
      join = [ "plaza" "kubenet" ];
    };
    nginx.enable = true;
    monitoring.hostGrafana = true;
    gitServer = {
      enable = true;
      gitweb.enable = true;
    };
  };
}