add: swapfile

This commit is contained in:
2026-09-29 23:14:47 +02:00
parent e415c4c800
commit 42186f433f
2 changed files with 5 additions and 1 deletions

View File

@@ -36,6 +36,7 @@
libretro.citra libretro.citra
prismlauncher prismlauncher
steam steam
steamguard-cli
winetricks winetricks
]; ];

View File

@@ -35,7 +35,10 @@
fsType = "ext4"; fsType = "ext4";
}; };
swapDevices = [ ]; swapDevices = [{
device = "/var/lib/swapfile";
size = 16*1024;
}];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;