summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-10-17 11:17:11 +0200
committermakefu <github@syntax-fehler.de>2015-10-17 11:17:11 +0200
commit49eb14094324169e13b8a8910b7ad1719501fb30 (patch)
tree94b5d0e2894f15ea99e6888e0614f9379aeee5c7 /makefu/2configs
parent9da82f7bc6341207fe07a35335bd877a799b4f56 (diff)
m 2 fs/root-home: fix root label
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/fs/sda-crypto-root-home.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/makefu/2configs/fs/sda-crypto-root-home.nix b/makefu/2configs/fs/sda-crypto-root-home.nix
index c2075a665..cc2133a49 100644
--- a/makefu/2configs/fs/sda-crypto-root-home.nix
+++ b/makefu/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";