diff --git a/hosts/aspire-laptop/hardware-configuration.nix b/hosts/aspire-laptop/hardware-configuration.nix old mode 100644 new mode 100755 index 250c28d..b1f80d7 --- a/hosts/aspire-laptop/hardware-configuration.nix +++ b/hosts/aspire-laptop/hardware-configuration.nix @@ -1,7 +1,38 @@ -{ modulesPath, ... }: +# 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") - ]; + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/317d4336-8330-47aa-9a86-63e16048a9fc"; + fsType = "btrfs"; + options = [ "subvol=@" ]; + }; + + fileSystems."/home" = + { device = "/dev/disk/by-uuid/317d4336-8330-47aa-9a86-63e16048a9fc"; + fsType = "btrfs"; + options = [ "subvol=@home" ]; + }; + + fileSystems."/boot/efi" = + { device = "/dev/disk/by-uuid/2A33-BBF3"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }