diff options
| author | Grisha Shipunov | 2025-08-15 21:50:02 +0200 |
|---|---|---|
| committer | Grisha Shipunov | 2025-08-15 21:50:02 +0200 |
| commit | a17f4c1910550ee2fdb799f4a178ce9d29d02208 (patch) | |
| tree | 12355fc719a376f2dafb1aab2f8a9e7c27e45bca /hosts/toaster/hardware-configuration.nix | |
| parent | 13eeb16ef60cdc3ea0f396750db17c1a2149b312 (diff) | |
update config for toaster, roate key
Diffstat (limited to 'hosts/toaster/hardware-configuration.nix')
| -rw-r--r-- | hosts/toaster/hardware-configuration.nix | 13 |
1 files changed, 6 insertions, 7 deletions
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 |
