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,7 +3,8 @@
# ssd # # ssd #
# sda: bootloader grub2 # sda: bootloader grub2
# sda1: boot ext4 (label nixboot) # sda1: boot ext4 (label nixboot)
# sda2: cryptoluks -> lvm: # sda2: cryptoluks ->
# lvm:
# / (main-root) # / (main-root)
# /home (main-home) # /home (main-home)
@ -11,10 +12,10 @@ with lib;
{ {
imports = [ imports = [
./sda-crypto-root.nix ./sda-crypto-root.nix # configures crypto + boot
]; ];
fileSystems = { fileSystems = {
"/".device = lib.mkForce "/dev/mapper/main-root";
"/home" = { "/home" = {
device = "/dev/mapper/main-home"; device = "/dev/mapper/main-home";
fsType = "ext4"; fsType = "ext4";