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 # # ssd #
# sda: bootloader grub2 # sda: bootloader grub2
# sda1: boot ext4 (label nixboot) # sda1: boot ext4 (label nixboot)
# sda2: cryptoluks -> lvm: # sda2: cryptoluks ->
# / (main-root) # lvm:
# /home (main-home) # / (main-root)
# /home (main-home)
with lib; 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";