summaryrefslogtreecommitdiff
path: root/os/cez/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'os/cez/hardware-configuration.nix')
-rw-r--r--os/cez/hardware-configuration.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/cez/hardware-configuration.nix b/os/cez/hardware-configuration.nix
index 056f65a..90a73b9 100644
--- a/os/cez/hardware-configuration.nix
+++ b/os/cez/hardware-configuration.nix
@@ -11,6 +11,11 @@
hardware.amdgpu.initrd.enable = false;
services.xserver.videoDrivers = [ "modesetting" ];
+ swapDevices = [{
+ device = "/swapfile";
+ size = 14 * 1024; # 14GB
+ }];
+
boot = {
loader.systemd-boot.enable = true;
blacklistedKernelModules = [ "k10temp" ];