From 742601f3d4bcdbc494276ed6c3bf7ad252e3a075 Mon Sep 17 00:00:00 2001 From: TypoMustakes Date: Wed, 8 Apr 2026 11:39:14 +0200 Subject: [PATCH] Added hardware configuration for Heracles --- hosts/Heracles/hardware-configuration.nix | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 hosts/Heracles/hardware-configuration.nix diff --git a/hosts/Heracles/hardware-configuration.nix b/hosts/Heracles/hardware-configuration.nix new file mode 100644 index 0000000..475b508 --- /dev/null +++ b/hosts/Heracles/hardware-configuration.nix @@ -0,0 +1,36 @@ +# 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 + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/59a97eab-9251-485c-a297-541618197680"; + fsType = "ext4"; + }; + + fileSystems."/home" = + { device = "/dev/disk/by-uuid/dffd60ce-8d81-495e-8e60-9b985d39f15e"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/C1A0-08A8"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +}