Inherit mountDir
from setup script
This commit is contained in:
parent
8bd4cac747
commit
69cbbf9834
1 changed files with 3 additions and 5 deletions
|
@ -4,17 +4,15 @@ begin
|
|||
source "$dir/../../Common/OS/setup.fish"
|
||||
source "$dir/../../Common/Scripts/config.fish"
|
||||
|
||||
set -l mountDir (getOSConfig partition.rootDir)
|
||||
|
||||
function runChroot -S
|
||||
arch-chroot $argv
|
||||
end
|
||||
|
||||
function installValhallaDeps -V mountDir
|
||||
function installValhallaDeps -S
|
||||
pacstrap -K "$mountDir" fish git jq nix sudo tmux
|
||||
end
|
||||
|
||||
function installDrivers -V mountDir
|
||||
function installDrivers -S
|
||||
if isOSEnabled hardware.surfaceBook
|
||||
pacstrap -K "$mountDir" linux-firmware-marvell;
|
||||
end
|
||||
|
@ -24,7 +22,7 @@ begin
|
|||
echo "$dir/install.fish"
|
||||
end
|
||||
|
||||
function setupOS -S -V dir -V mountDir
|
||||
function setupOS -S -V dir -S
|
||||
source "$dir/../../Common/Scripts/hooks.fish"
|
||||
source "$dir/../../Common/Scripts/wait-network.fish"
|
||||
|
||||
|
|
Loading…
Reference in a new issue