summaryrefslogtreecommitdiff
path: root/machines/iridium.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/iridium.nix')
-rw-r--r--machines/iridium.nix32
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;
+ };
+ };
+}