aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix1
-rw-r--r--hosts/mystra/configuration.nix7
-rw-r--r--hosts/mystra/hardware-configuration.nix25
3 files changed, 33 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 914ab99..4765224 100644
--- a/flake.nix
+++ b/flake.nix
@@ -98,6 +98,7 @@
nixosConfigurations = {
kronos = mkSystem "kronos";
herra = mkSystem "herra";
+ mystra = mkSystem "mystra";
};
};
}
diff --git a/hosts/mystra/configuration.nix b/hosts/mystra/configuration.nix
new file mode 100644
index 0000000..a67cdf3
--- /dev/null
+++ b/hosts/mystra/configuration.nix
@@ -0,0 +1,7 @@
+{...}: {
+ imports = [
+ ./hardware-configuration.nix
+ ../../home/rices/nord-blue/system.nix
+ ];
+ networking.hostName = "mystra";
+}
diff --git a/hosts/mystra/hardware-configuration.nix b/hosts/mystra/hardware-configuration.nix
new file mode 100644
index 0000000..50f0325
--- /dev/null
+++ b/hosts/mystra/hardware-configuration.nix
@@ -0,0 +1,25 @@
+# PLACEHOLDER - Generate on actual ThinkPad X220 hardware with:
+# sudo nixos-generate-config --show-hardware-config > hosts/mystra/hardware-configuration.nix
+#
+# ThinkPad X220 Expected Hardware:
+# - Intel Core i5-2520M (2nd gen Sandy Bridge)
+# - Intel HD Graphics 3000 (i915 driver)
+# - 4-8GB DDR3 RAM
+# - SATA SSD/HDD storage
+
+{ config, lib, pkgs, modulesPath, ... }:
+{
+ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
+
+ # Placeholder - replace with actual hardware scan results
+ boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usb_storage" "sd_mod" ];
+ boot.kernelModules = [ "kvm-intel" ];
+
+ fileSystems."/" = {
+ device = "/dev/disk/by-uuid/PLACEHOLDER";
+ fsType = "ext4";
+ };
+
+ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
+ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+}