From 66a963a210f298f32168d620931daf8d0db81bee Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sun, 16 Sep 2018 18:27:25 +0200 Subject: [PATCH] steveej-laptop: add swap device --- nixos-configuration/steveej-laptop/hw.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos-configuration/steveej-laptop/hw.nix b/nixos-configuration/steveej-laptop/hw.nix index ee038cd..a3373dc 100644 --- a/nixos-configuration/steveej-laptop/hw.nix +++ b/nixos-configuration/steveej-laptop/hw.nix @@ -42,7 +42,9 @@ fsType = "tmpfs"; }; - swapDevices = [ ]; + swapDevices = [ + { label = "vg0swap"; } + ]; boot.loader.grub = { device = "/dev/sda";