diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix index ca7f364..fbc2cd8 100644 --- a/hosts/laptop/hardware-configuration.nix +++ b/hosts/laptop/hardware-configuration.nix @@ -18,9 +18,11 @@ ]; boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" "rtsx_usb_sdmmc" ]; - boot.initrd.kernelModules = [ "i915" ]; + boot.initrd.kernelModules = [ "i915" "kvm_intel" ]; boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + boot.extraModprobeConfig = '' + options i915 enable_guc=3 enable_fbc=1 fastboot=1 + ''; boot.kernelParams = [ "mitigations=off" "luks.options=fido2-device=auto" ]; boot.tmpOnTmpfs = true; zramSwap.enable = true; @@ -108,17 +110,17 @@ fsType = "vfat"; }; - fileSystems."/mnt/Pluto" = - { device = "nas:/Pluto"; - fsType = "nfs"; - options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec,nfsvers=4.2" ]; - }; + # fileSystems."/mnt/Pluto" = + # { device = "nas:/Pluto"; + # fsType = "nfs"; + # options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec,nfsvers=4.2" ]; + # }; - fileSystems."/mnt/Mars" = - { device = "nas:/Mars"; - fsType = "nfs"; - options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec,nfsvers=4.2" ]; - }; + # fileSystems."/mnt/Mars" = + # { device = "nas:/Mars"; + # fsType = "nfs"; + # options = [ "noauto,users,x-systemd.automount,x-systemd.device-timeout=10,soft,timeo=14,x-systemd.idle-timeout=1min,sec=sys,exec,nfsvers=4.2" ]; + # }; swapDevices = [ ];