From 49eb14094324169e13b8a8910b7ad1719501fb30 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 17 Oct 2015 11:17:11 +0200 Subject: m 2 fs/root-home: fix root label --- makefu/2configs/fs/sda-crypto-root-home.nix | 11 ++++++----- 1 file 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"; -- cgit v1.2.3