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
|
|
|
|
end
|
|
|
|
|
2024-09-12 21:17:04 +00:00
|
|
|
function getDeploymentScript -V dir
|
2024-11-01 12:12:16 +00:00
|
|
|
echo "$dir/../lib/deploy.fish"
|
2024-09-12 21:17:04 +00:00
|
|
|
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
|
2024-07-15 10:45:49 +00:00
|
|
|
or exit
|
|
|
|
|
2024-07-15 17:58:56 +00:00
|
|
|
sudo systemctl enable --now nix-daemon
|
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
|
|
|
|
2024-10-13 20:07:44 +00:00
|
|
|
and source "$dir/../Software/powershell/main.fish" --force
|
2024-09-19 19:53:24 +00:00
|
|
|
|
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 \
|
|
|
|
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
|