Get mount dir for preparing nix

This commit is contained in:
Manuel Thalmann 2024-12-05 09:38:38 +01:00
parent 45b0ed910c
commit 406c25b3d3

View file

@ -81,6 +81,8 @@ function runSetup
function prepareNix -V dir
source "$dir/../../lib/nix.fish"
source "$dir/../../lib/settings.fish"
set -l mountDir (getOSConfig partition.rootDir)
# Copy `nixpkgs` channel
mkdir -p (dirname "$mountDir/$nixPkgsDir")