diff options
| -rw-r--r-- | hosts/sif/default.nix | 6 | ||||
| -rw-r--r-- | hosts/sif/hw.nix | 4 | ||||
| -rw-r--r-- | hosts/vidhar/default.nix | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index ceeeeab5..1662cad4 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
| @@ -614,7 +614,11 @@ in { | |||
| 614 | enable = true; | 614 | enable = true; |
| 615 | }; | 615 | }; |
| 616 | 616 | ||
| 617 | zramSwap.enable = true; | 617 | zramSwap = { |
| 618 | enable = true; | ||
| 619 | algorithm = "zstd"; | ||
| 620 | writebackDevice = "/dev/disk/by-uuid/50f3f856-cc17-4614-846a-34a14d5006ec"; | ||
| 621 | }; | ||
| 618 | 622 | ||
| 619 | services.pcscd.enable = true; | 623 | services.pcscd.enable = true; |
| 620 | 624 | ||
diff --git a/hosts/sif/hw.nix b/hosts/sif/hw.nix index b7c17a9b..3442a93a 100644 --- a/hosts/sif/hw.nix +++ b/hosts/sif/hw.nix | |||
| @@ -21,10 +21,6 @@ | |||
| 21 | fsType = "btrfs"; | 21 | fsType = "btrfs"; |
| 22 | }; | 22 | }; |
| 23 | 23 | ||
| 24 | swapDevices = | ||
| 25 | [ { device = "/dev/disk/by-uuid/50f3f856-cc17-4614-846a-34a14d5006ec"; } | ||
| 26 | ]; | ||
| 27 | |||
| 28 | nix.settings.max-jobs = 12; | 24 | nix.settings.max-jobs = 12; |
| 29 | # High-DPI console | 25 | # High-DPI console |
| 30 | console.font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz"; | 26 | console.font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz"; |
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 62eaae0d..6ed1b425 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
| @@ -344,7 +344,10 @@ with lib; | |||
| 344 | }; | 344 | }; |
| 345 | }; | 345 | }; |
| 346 | 346 | ||
| 347 | zramSwap.enable = true; | 347 | zramSwap = { |
| 348 | enable = true; | ||
| 349 | algorithm = "zstd"; | ||
| 350 | }; | ||
| 348 | 351 | ||
| 349 | environment.systemPackages = with pkgs; [iotop vmtouch]; | 352 | environment.systemPackages = with pkgs; [iotop vmtouch]; |
| 350 | 353 | ||
