From a1f77ed407be8b3121ba87b4b66f26144874416f Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Tue, 11 Aug 2026 20:05:11 -0400 Subject: [PATCH] add: added hardware config --- .../raubahn/hardware-configuration.nix | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/modules/machine/raubahn/hardware-configuration.nix b/modules/machine/raubahn/hardware-configuration.nix index e69de29..9dc7cc7 100644 --- a/modules/machine/raubahn/hardware-configuration.nix +++ b/modules/machine/raubahn/hardware-configuration.nix @@ -0,0 +1,32 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/profiles/qemu-guest.nix") + ]; + + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sr_mod" "virtio_blk" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/ec4c43ec-efcc-40ea-a4c8-411e60ee7c4e"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/140E-FE19"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/547bbd78-85be-4d17-a519-c4a2a923bdab"; } + ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +}