From 19e82b10d8ff2d9b3436164ab06f85b1e79ead35 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Tue, 24 Mar 2026 16:09:28 +0530 Subject: apparently it is required :( --- .gitignore | 1 - hardware-configuration.nix | 31 +++++++++++++++++++++++++++++++ nixos/boot.nix | 1 + 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 hardware-configuration.nix diff --git a/.gitignore b/.gitignore index e542803..9355433 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ hypr-zoom *.hm-backup *.dat -hardware-configuration.nix diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..8f55e8b --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,31 @@ +# 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 = [ "xhci_pci" "thunderbolt" "nvme" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/aadeb47f-49f3-4052-b061-6d02fd0165cb"; + fsType = "ext4"; + }; + + fileSystems."/boot/efi" = + { device = "/dev/disk/by-uuid/111C-A2C4"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} diff --git a/nixos/boot.nix b/nixos/boot.nix index b404813..b3563f9 100644 --- a/nixos/boot.nix +++ b/nixos/boot.nix @@ -35,6 +35,7 @@ }; }; efi.canTouchEfiVariables = true; + efi.efiSysMountPoint = "/boot/efi"; systemd-boot.enable = false; }; -- cgit v1.2.3