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
|
2024-07-15 10:45:49 +00:00
|
|
|
source "$dir/../../Common/Scripts/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-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 10:10:06 +00:00
|
|
|
yayinst 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"
|
|
|
|
end
|
|
|
|
|
|
|
|
if collectionActive common
|
|
|
|
yayinst \
|
|
|
|
tldr \
|
|
|
|
btop \
|
|
|
|
nvtop \
|
|
|
|
numbat-bin \
|
|
|
|
terminal-parrot
|
|
|
|
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
|