aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--hardware-configuration.nix31
-rw-r--r--nixos/boot.nix1
3 files changed, 32 insertions, 1 deletions
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;
};