summaryrefslogtreecommitdiff
path: root/machines/iridium.nix
blob: 5f30c819ea8f176b068d10aaa2cbbad5cb82c930 (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
32
33
34
35
{ inputs, flake, ... }:
let
  inherit (inputs.nixos-hardware.nixosModules)
    common-cpu-intel
    common-gpu-intel
    ;
in
{
  nixpkgs.hostPlatform.system = "x86_64-linux";
  system.stateVersion = "25.05";
  networking.hostName = "iridium";

  imports = [
    common-cpu-intel
    common-gpu-intel
    flake.outputs.nixosModules.network
  ];

  depot.net = {
    sshd.enable = true;
    sshd.publish = true;
  };

  xnet = {
    disk = {
      enable = true;
      device = "/dev/nvme0n1";
    };
    nginx.enable = true;
    gitServer = {
      enable = true;
      gitweb.enable = true;
    };
  };
}