From 97a2de983bb53c29520b2b125e70d2fb07fba3b8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 12 Oct 2012 16:38:00 -0400 Subject: [PATCH] Ensure that swap.target is pulled in by switch-to-configuration even if it failed earlier --- modules/system/boot/systemd.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/system/boot/systemd.nix b/modules/system/boot/systemd.nix index 248dda60f59d..3de6220e6b95 100644 --- a/modules/system/boot/systemd.nix +++ b/modules/system/boot/systemd.nix @@ -311,8 +311,7 @@ let ln -s ${cfg.defaultUnit} $out/default.target #ln -s ../getty@tty1.service $out/multi-user.target.wants/ - ln -s ../remote-fs.target $out/multi-user.target.wants/ - ln -s ../network.target $out/multi-user.target.wants/ + ln -s ../remote-fs.target ../network.target ../swap.target $out/multi-user.target.wants/ ''; # */ in