m 2 fs/root-home: fix root label

This commit is contained in:
makefu 2015-10-17 11:17:11 +02:00
parent 9da82f7bc6
commit 49eb140943

View File

@ -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";