diff options
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 |
