diff options
Diffstat (limited to 'hosts/common')
-rw-r--r-- | hosts/common/hardware/intel.nix | 4 | ||||
-rw-r--r-- | hosts/common/hardware/xps9300.nix | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/hosts/common/hardware/intel.nix b/hosts/common/hardware/intel.nix new file mode 100644 index 0000000..ac279fb --- /dev/null +++ b/hosts/common/hardware/intel.nix @@ -0,0 +1,4 @@ +{ + hardware.cpu.intel.updateMicrocode = true; + boot.kernelModules = [ "kvm-intel" ]; +} diff --git a/hosts/common/hardware/xps9300.nix b/hosts/common/hardware/xps9300.nix new file mode 100644 index 0000000..f944f55 --- /dev/null +++ b/hosts/common/hardware/xps9300.nix @@ -0,0 +1,6 @@ +{ + imports = [ + ./intel.nix + ]; + boot.kernelParams = [ "mem_sleep_default=deep" ]; +} |