PortValhalla/scripts/Arch/OS/install.fish

65 lines
1.8 KiB
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-07-14 01:05:26 +00:00
function initialize -V dir
source "$dir/../../Common/Scripts/wait-network.fish"
2024-07-15 11:12:46 +00:00
waitNetwork
or exit
2024-07-15 17:58:56 +00:00
sudo systemctl enable --now nix-daemon
2024-07-15 10:10:06 +00:00
source "$dir/../Scripts/software.fish"
2024-07-14 01:05:26 +00:00
source "$dir/../Software/base-devel/main.fish"
2024-07-14 07:44:32 +00:00
source "$dir/../Software/pacman/main.fish"
2024-07-14 20:33:56 +00:00
source "$dir/../Software/yay/main.fish"
2024-07-15 18:51:20 +00:00
yayinst \
pacman-contrib \
powershell-bin
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
if not type -q installSoftware
2024-07-14 08:09:37 +00:00
function installSoftware -V dir
2024-07-15 10:10:06 +00:00
source "$dir/../../Common/Scripts/config.fish"
source "$dir/../Scripts/software.fish"
2024-07-15 11:27:14 +00:00
if collectionActive essential
2024-07-15 10:10:06 +00:00
yayinst \
mkinitcpio-firmware \
neofetch \
bash-completion \
wget \
oh-my-posh-bin \
screen \
tmux \
htop \
lsof \
zsh \
fish \
pkgfile \
sl \
rar
sudo pkgfile --update
source "$dir/../Software/openssh/main.fish"
source "$dir/../Software/vim/main.fish"
source "$dir/../Software/git/main.fish"
2024-07-16 12:28:32 +00:00
source "$dir/../Software/zoxide/main.fish"
2024-07-15 10:10:06 +00:00
end
if collectionActive common
yayinst \
tldr \
btop \
nvtop \
numbat-bin \
terminal-parrot
2024-07-16 01:30:14 +00:00
source "$dir/../Software/aliae/main.fish"
2024-07-15 10:10:06 +00:00
end
2024-07-14 01:05:26 +00:00
end
2024-07-13 13:49:55 +00:00
end
2024-07-14 01:05:26 +00:00
source "$dir/../../Common/OS/install.fish"
end