summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/fs/sda-crypto-root-home.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/fs/sda-crypto-root-home.nix')
-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";