Remove unnecessary function

This commit is contained in:
Manuel Thalmann 2024-12-05 09:41:20 +01:00
parent 406c25b3d3
commit 3758baba8b

View file

@ -79,16 +79,6 @@ function runSetup
end | runChroot "$mountDir" tee /root/.bash_profile >/dev/null end | runChroot "$mountDir" tee /root/.bash_profile >/dev/null
end end
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")
cp -r "$nixPkgsDir" "$mountDir/$nixPkgsDir"
end
function actionPreRun function actionPreRun
echo "Partitioning drives..." echo "Partitioning drives..."
and getOSConfig partition.script >"$script" and getOSConfig partition.script >"$script"