diff options
| author | Nantha Sorubakanthan <nantha@mielota.com> | 2026-06-07 00:15:20 +0200 |
|---|---|---|
| committer | Nantha Sorubakanthan <nantha@mielota.com> | 2026-06-07 00:15:20 +0200 |
| commit | c36e55e90f9bdcf2c080a874b947632fb3d56202 (patch) | |
| tree | d4ec4804a3312ea6e9d9666d6c3b554a86888b45 /nixos/hardware-configuration.nix | |
| parent | cc84916ba8c8f9b2e7b176ae3bd00aabac5137a1 (diff) | |
add nixos dotfiles
Diffstat (limited to 'nixos/hardware-configuration.nix')
| -rw-r--r-- | nixos/hardware-configuration.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix new file mode 100644 index 0000000..2a6521b --- /dev/null +++ b/nixos/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" "ahci" "nvme" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/23658a64-4c5b-40aa-8e41-6ea6b96a6115"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/9D43-F7F6"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} |
