diff options
| author | Kleidi Bujari <mail@4kb.net> | 2025-04-05 14:58:10 -0400 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2025-04-05 14:58:10 -0400 |
| commit | 179bf31d5edc90c826dacf0b06b149469d8d14fa (patch) | |
| tree | 28a07fad01cce7627a2f332094e4a5261c8e5430 /machines/iridium.nix | |
| parent | bf4d4b2a330c03373f75942b9b1723a67f03a709 (diff) | |
| download | depot-179bf31d5edc90c826dacf0b06b149469d8d14fa.tar.gz depot-179bf31d5edc90c826dacf0b06b149469d8d14fa.tar.bz2 depot-179bf31d5edc90c826dacf0b06b149469d8d14fa.zip | |
automate hosts gen and bump nixpkgs
Diffstat (limited to 'machines/iridium.nix')
| -rw-r--r-- | machines/iridium.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/machines/iridium.nix b/machines/iridium.nix new file mode 100644 index 0000000..03727d7 --- /dev/null +++ b/machines/iridium.nix @@ -0,0 +1,32 @@ +{ inputs, ... }: +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 ]; + + 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; + }; + }; +} |
