Get mount dir for preparing nix
This commit is contained in:
parent
45b0ed910c
commit
406c25b3d3
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ function runSetup
|
||||||
|
|
||||||
function prepareNix -V dir
|
function prepareNix -V dir
|
||||||
source "$dir/../../lib/nix.fish"
|
source "$dir/../../lib/nix.fish"
|
||||||
|
source "$dir/../../lib/settings.fish"
|
||||||
|
set -l mountDir (getOSConfig partition.rootDir)
|
||||||
|
|
||||||
# Copy `nixpkgs` channel
|
# Copy `nixpkgs` channel
|
||||||
mkdir -p (dirname "$mountDir/$nixPkgsDir")
|
mkdir -p (dirname "$mountDir/$nixPkgsDir")
|
||||||
|
|
Loading…
Reference in a new issue