From a17f4c1910550ee2fdb799f4a178ce9d29d02208 Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Fri, 15 Aug 2025 21:50:02 +0200 Subject: update config for toaster, roate key --- hosts/toaster/hardware-configuration.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'hosts/toaster/hardware-configuration.nix') diff --git a/hosts/toaster/hardware-configuration.nix b/hosts/toaster/hardware-configuration.nix index 318ff03..37449d9 100644 --- a/hosts/toaster/hardware-configuration.nix +++ b/hosts/toaster/hardware-configuration.nix @@ -56,7 +56,7 @@ }; fileSystems."/boot" = { - device = "/dev/disk/by-uuid/A170-F83D"; + device = "/dev/disk/by-uuid/C769-1AAC"; fsType = "vfat"; options = [ "fmask=0022" @@ -64,12 +64,11 @@ ]; }; - swapDevices = [ - { - device = "/dev/disk/by-partuuid/037518f2-9fa0-44f0-9550-745e27bf1c1f"; - randomEncryption = true; - } - ]; + zramSwap = { + enable = true; + algorithm = "zstd"; + memoryPercent = 30; + }; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's -- cgit v1.3.1