From 171441b78d3cd2b02a91075588284ba7a7e512b5 Mon Sep 17 00:00:00 2001 From: NullBite Date: Wed, 17 Jul 2024 19:11:12 -0400 Subject: [PATCH] rpi4: enable swap partition --- hosts/rpi4/hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/rpi4/hardware-configuration.nix b/hosts/rpi4/hardware-configuration.nix index 918dd45..cdfa0c5 100644 --- a/hosts/rpi4/hardware-configuration.nix +++ b/hosts/rpi4/hardware-configuration.nix @@ -67,7 +67,9 @@ }; - swapDevices = [ ]; + swapDevices = + [ { device = "/dev/disk/by-uuid/b8e046b3-28a2-47c5-b305-24be5be42eff"; } + ]; # 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