From 1cfdb0b786d5fc8ca241cd09021941fcfeea8967 Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Sat, 17 Oct 2015 11:17:11 +0200
Subject: [PATCH] m 2 fs/root-home: fix root label

---
 2configs/fs/sda-crypto-root-home.nix | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/2configs/fs/sda-crypto-root-home.nix b/2configs/fs/sda-crypto-root-home.nix
index c2075a6..cc2133a 100644
--- a/2configs/fs/sda-crypto-root-home.nix
+++ b/2configs/fs/sda-crypto-root-home.nix
@@ -3,18 +3,19 @@
 # ssd #
 # sda:  bootloader grub2
 # sda1: boot ext4 (label nixboot)
-# sda2: cryptoluks -> lvm:
-#       /     (main-root)
-#       /home (main-home)
+# sda2: cryptoluks ->
+#       lvm:
+#             /     (main-root)
+#             /home (main-home)
 
 with lib;
 {
 
   imports = [
-    ./sda-crypto-root.nix
+    ./sda-crypto-root.nix # configures crypto + boot
   ];
-
   fileSystems = {
+    "/".device = lib.mkForce "/dev/mapper/main-root";
     "/home" = {
       device = "/dev/mapper/main-home";
       fsType = "ext4";