From 7859e5d3ae4f1b68d06e8feda03e06a1c4928674 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 22 Jun 2024 20:46:15 +0200 Subject: [PATCH] Create directories for mounts --- lib/modules/partition.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/modules/partition.nix b/lib/modules/partition.nix index ecbb92af..ea2fcd48 100644 --- a/lib/modules/partition.nix +++ b/lib/modules/partition.nix @@ -277,6 +277,7 @@ builtins.map (_: builtins.concatStringsSep " " [ "mount" + "--mkdir" (partPath _) (normalizePath "/${rootDir}/${_.mountPoint}") ])