PortValhalla/scripts/Arch/OS/install.fish

35 lines
885 B
Fish
Raw Normal View History

2024-07-13 13:12:35 +00:00
#!/bin/env fish
2024-07-14 01:05:26 +00:00
begin
set -l dir (status dirname)
2024-07-13 13:49:55 +00:00
2024-10-31 21:55:33 +00:00
function installValhallaDeps -V dir
2024-11-01 12:12:16 +00:00
source "$dir/../lib/software.fish"
2024-10-31 21:55:33 +00:00
and pacinst fish git jq nix sudo tmux
2024-12-04 13:41:49 +00:00
sudo systemctl enable --now nix-daemon
2024-10-31 21:55:33 +00:00
end
function getDeploymentScript -V dir
2024-11-01 12:12:16 +00:00
echo "$dir/../lib/deploy.fish"
end
2024-07-14 01:05:26 +00:00
function initialize -V dir
2024-11-01 12:12:16 +00:00
source "$dir/../../lib/wait-network.fish"
2024-07-15 11:12:46 +00:00
waitNetwork
or exit
2024-11-01 12:12:16 +00:00
and source "$dir/../lib/software.fish"
2024-09-13 13:10:29 +00:00
and source "$dir/../Software/base-devel/main.fish"
and source "$dir/../Software/pacman/main.fish"
and source "$dir/../Software/yay/main.fish"
2024-07-15 18:51:20 +00:00
and source "$dir/../Software/powershell/main.fish" --force
2024-09-13 13:10:29 +00:00
and yayinst \
2024-09-19 19:20:41 +00:00
linux-headers \
2024-09-19 19:58:30 +00:00
pacman-contrib \
2024-11-19 23:30:08 +00:00
go-yq
2024-07-14 01:05:26 +00:00
end
2024-07-13 13:49:55 +00:00
2024-07-14 01:05:26 +00:00
source "$dir/../../Common/OS/install.fish"
end