summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-08-16 14:36:23 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-08-16 14:36:23 +0200
commite6b7eb774cecff38ef7ec599376c1539008c2e57 (patch)
tree14b23ad5b1808b14733c68cbca17e7f06d1513a5 /hosts
parent0c3af4ef9d3716085d828b9f01adad8d07005651 (diff)
downloadnixos-e6b7eb774cecff38ef7ec599376c1539008c2e57.tar
nixos-e6b7eb774cecff38ef7ec599376c1539008c2e57.tar.gz
nixos-e6b7eb774cecff38ef7ec599376c1539008c2e57.tar.bz2
nixos-e6b7eb774cecff38ef7ec599376c1539008c2e57.tar.xz
nixos-e6b7eb774cecff38ef7ec599376c1539008c2e57.zip
...
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sif/default.nix6
-rw-r--r--hosts/sif/hw.nix4
-rw-r--r--hosts/vidhar/default.nix5
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