diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-08-16 14:36:23 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-08-16 14:36:23 +0200 |
commit | e6b7eb774cecff38ef7ec599376c1539008c2e57 (patch) | |
tree | 14b23ad5b1808b14733c68cbca17e7f06d1513a5 /hosts/sif | |
parent | 0c3af4ef9d3716085d828b9f01adad8d07005651 (diff) | |
download | nixos-e6b7eb774cecff38ef7ec599376c1539008c2e57.tar nixos-e6b7eb774cecff38ef7ec599376c1539008c2e57.tar.gz nixos-e6b7eb774cecff38ef7ec599376c1539008c2e57.tar.bz2 nixos-e6b7eb774cecff38ef7ec599376c1539008c2e57.tar.xz nixos-e6b7eb774cecff38ef7ec599376c1539008c2e57.zip |
...
Diffstat (limited to 'hosts/sif')
-rw-r--r-- | hosts/sif/default.nix | 6 | ||||
-rw-r--r-- | hosts/sif/hw.nix | 4 |
2 files changed, 5 insertions, 5 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"; |