hardware: enable zram

This commit is contained in:
notohh 2024-05-02 03:13:14 -04:00
parent 89921c6c82
commit e671c3fb5c
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -41,6 +41,13 @@
fsType = "nfs"; fsType = "nfs";
}; };
}; };
zramSwap = {
enable = true;
swapDevices = 1;
algorithm = "zstd";
};
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";