Compare commits

...

2 commits

Author SHA1 Message Date
133f2ce61e Get mount dir for preparing nix 2024-12-05 09:38:38 +01:00
759877b6e4 Fix non-existent variable 2024-12-05 09:27:53 +01:00

View file

@ -79,8 +79,10 @@ function runSetup
end | runChroot "$mountDir" tee /root/.bash_profile >/dev/null end | runChroot "$mountDir" tee /root/.bash_profile >/dev/null
end end
function prepareNix 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")