diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-03-24 16:09:28 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-03-24 16:09:28 +0530 |
| commit | 19e82b10d8ff2d9b3436164ab06f85b1e79ead35 (patch) | |
| tree | 35a0bcc86bc374badcd1f59ab886f0a0556580f0 | |
| parent | e9ca11d6e7d333b9719779b84947ad8aca214497 (diff) | |
apparently it is required :(
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | hardware-configuration.nix | 31 | ||||
| -rw-r--r-- | nixos/boot.nix | 1 |
3 files changed, 32 insertions, 1 deletions
@@ -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; }; |
