From 3200614b9f51c10689212ceb797f252762e62576 Mon Sep 17 00:00:00 2001 From: Technofab <34860318+TECHNOFAB11@users.noreply.github.com> Date: Tue, 4 Jul 2023 21:40:32 +0200 Subject: [PATCH] fix(swap): rename dev to config.device MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörg Thalheim --- lib/types/swap.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types/swap.nix b/lib/types/swap.nix index 8c6a5cf..ffd6f26 100644 --- a/lib/types/swap.nix +++ b/lib/types/swap.nix @@ -56,7 +56,7 @@ device = config.device; randomEncryption = config.randomEncryption; }]; - boot.resumeDevice = lib.mkIf config.resumeDevice dev; + boot.resumeDevice = lib.mkIf config.resumeDevice config.device; }]; description = "NixOS configuration"; };