From 6e2e9a3b7294cd4b844bb5375e21011dd215da41 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Tue, 3 Dec 2024 01:11:03 +0100 Subject: [PATCH] swapDevices is a list not a single entry --- nixos/hosts/wheatley/hardware-configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nixos/hosts/wheatley/hardware-configuration.nix b/nixos/hosts/wheatley/hardware-configuration.nix index ea10698..2878b3c 100644 --- a/nixos/hosts/wheatley/hardware-configuration.nix +++ b/nixos/hosts/wheatley/hardware-configuration.nix @@ -16,8 +16,9 @@ options = []; }; - swapDevices = { - device = "/dev/disk/by-id/mmc-USD00_0x66b39865-part2"; - fsType = "linux-swap"; - }; + swapDevices = [ + { + device = "/dev/disk/by-id/mmc-USD00_0x66b39865-part2"; + } + ]; }