Restructure the script directory
This commit is contained in:
parent
772b7adc0b
commit
c4250cd27d
150 changed files with 248 additions and 248 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
source "$(status dirname)/../../scripts/config.fish"
|
source "$(status dirname)/../../scripts/lib/config.fish"
|
||||||
set -l projectName archiso-valhalla
|
set -l projectName archiso-valhalla
|
||||||
set -l overlayDir (mktemp -d)
|
set -l overlayDir (mktemp -d)
|
||||||
set -l upperDir (mktemp -d)
|
set -l upperDir (mktemp -d)
|
||||||
|
@ -14,7 +14,7 @@ begin
|
||||||
set -l nixDir "$profileDir/$root/nix/var/nix/profiles/per-user/root/channels/nixpkgs"
|
set -l nixDir "$profileDir/$root/nix/var/nix/profiles/per-user/root/channels/nixpkgs"
|
||||||
|
|
||||||
mkdir -p "$rootHome"
|
mkdir -p "$rootHome"
|
||||||
and fish "$(status dirname)/../../scripts/copy-repo.fish" "$projectDir"
|
and fish "$(status dirname)/../../scripts/lib/copy-repo.fish" "$projectDir"
|
||||||
|
|
||||||
and begin
|
and begin
|
||||||
if [ ! -d "$nixCache" ]
|
if [ ! -d "$nixCache" ]
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW -V dir
|
function installSW -V dir
|
||||||
yayinst secureboot-grub
|
yayinst secureboot-grub
|
||||||
end
|
end
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
source "$dir/../../../Common/Scripts/settings.fish"
|
source "$dir/../../../lib/settings.fish"
|
||||||
set -l label (getOSConfig boot.label)
|
set -l label (getOSConfig boot.label)
|
||||||
set -l efiDir (getOSConfig boot.efiMountPoint)
|
set -l efiDir (getOSConfig boot.efiMountPoint)
|
||||||
set -l bootNums (efibootmgr | sed "/$label/{ s/^.*Boot\([[:digit:]]\+\)\*.*\$/\1/; p; }; d")
|
set -l bootNums (efibootmgr | sed "/$label/{ s/^.*Boot\([[:digit:]]\+\)\*.*\$/\1/; p; }; d")
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW -V dir
|
function installSW -V dir
|
||||||
set -l repo linux-surface
|
set -l repo linux-surface
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW -V dir
|
function installSW -V dir
|
||||||
yayinst \
|
yayinst \
|
||||||
|
|
|
@ -3,21 +3,21 @@ begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
|
|
||||||
function installValhallaDeps -V dir
|
function installValhallaDeps -V dir
|
||||||
source "$dir/../Scripts/software.fish"
|
source "$dir/../lib/software.fish"
|
||||||
and pacinst fish git jq nix sudo tmux
|
and pacinst fish git jq nix sudo tmux
|
||||||
end
|
end
|
||||||
|
|
||||||
function getDeploymentScript -V dir
|
function getDeploymentScript -V dir
|
||||||
echo "$dir/../Scripts/deploy.fish"
|
echo "$dir/../lib/deploy.fish"
|
||||||
end
|
end
|
||||||
|
|
||||||
function initialize -V dir
|
function initialize -V dir
|
||||||
source "$dir/../../Common/Scripts/wait-network.fish"
|
source "$dir/../../lib/wait-network.fish"
|
||||||
waitNetwork
|
waitNetwork
|
||||||
or exit
|
or exit
|
||||||
|
|
||||||
sudo systemctl enable --now nix-daemon
|
sudo systemctl enable --now nix-daemon
|
||||||
and source "$dir/../Scripts/software.fish"
|
and source "$dir/../lib/software.fish"
|
||||||
and source "$dir/../Software/base-devel/main.fish"
|
and source "$dir/../Software/base-devel/main.fish"
|
||||||
and source "$dir/../Software/pacman/main.fish"
|
and source "$dir/../Software/pacman/main.fish"
|
||||||
and source "$dir/../Software/yay/main.fish"
|
and source "$dir/../Software/yay/main.fish"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Common/OS/setup.fish"
|
source "$dir/../../Common/OS/setup.fish"
|
||||||
source "$dir/../../Common/Scripts/settings.fish"
|
source "$dir/../../lib/settings.fish"
|
||||||
|
|
||||||
function runChroot -S
|
function runChroot -S
|
||||||
arch-chroot $argv
|
arch-chroot $argv
|
||||||
|
@ -23,8 +23,8 @@ begin
|
||||||
end
|
end
|
||||||
|
|
||||||
function setupOS -S -V dir -S
|
function setupOS -S -V dir -S
|
||||||
source "$dir/../../Common/Scripts/hooks.fish"
|
source "$dir/../../lib/hooks.fish"
|
||||||
source "$dir/../../Common/Scripts/wait-network.fish"
|
source "$dir/../../lib/wait-network.fish"
|
||||||
|
|
||||||
waitNetwork
|
waitNetwork
|
||||||
and begin
|
and begin
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/aliae/main.fish"
|
inherit "$dir/../../../Common/Software/aliae/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
pacinst base-devel
|
pacinst base-devel
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/brave/main.fish"
|
inherit "$dir/../../../Common/Software/brave/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/docker/main.fish"
|
inherit "$dir/../../../Common/Software/docker/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/firefox/main.fish"
|
inherit "$dir/../../../Common/Software/firefox/main.fish"
|
||||||
|
|
||||||
function installSW -V dir
|
function installSW -V dir
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/git/main.fish"
|
inherit "$dir/../../../Common/Software/git/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/grub/main.fish"
|
inherit "$dir/../../../Common/Software/grub/main.fish"
|
||||||
|
|
||||||
function installSW -V dir
|
function installSW -V dir
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
yayinst \
|
yayinst \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/logo-ls/main.fish"
|
inherit "$dir/../../../Common/Software/logo-ls/main.fish"
|
||||||
|
|
||||||
function installSW -V dir
|
function installSW -V dir
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
yayinst \
|
yayinst \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/minegrub-theme/main.fish"
|
inherit "$dir/../../../Common/Software/minegrub-theme/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/nix/main.fish"
|
inherit "$dir/../../../Common/Software/nix/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
yayinst nodejs-n
|
yayinst nodejs-n
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/nvidia-dkms/main.fish"
|
inherit "$dir/../../../Common/Software/nvidia-dkms/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/oh-my-posh/main.fish"
|
inherit "$dir/../../../Common/Software/oh-my-posh/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
yayinst \
|
yayinst \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
configureSW
|
configureSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
yayinst \
|
yayinst \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
yayinst \
|
yayinst \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/powershell/main.fish"
|
inherit "$dir/../../../Common/Software/powershell/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/pyenv/main.fish"
|
inherit "$dir/../../../Common/Software/pyenv/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/rclone/main.fish"
|
inherit "$dir/../../../Common/Software/rclone/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
# `git` version
|
# `git` version
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
yayinst steam
|
yayinst steam
|
||||||
|
@ -9,7 +9,7 @@ begin
|
||||||
|
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
. "$dir/../../../Common/Scripts/settings.fish"
|
. "$dir/../../../lib/settings.fish"
|
||||||
|
|
||||||
if isOSEnabled hidpi
|
if isOSEnabled hidpi
|
||||||
begin
|
begin
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
pacinst sudo
|
pacinst sudo
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/vim/main.fish"
|
inherit "$dir/../../../Common/Software/vim/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/virt-manager/main.fish"
|
inherit "$dir/../../../Common/Software/virt-manager/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function setFlags -a user
|
function setFlags -a user
|
||||||
set -l flags
|
set -l flags
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
yayinst (
|
yayinst (
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
set -l contextRoot (mktemp -d)
|
set -l contextRoot (mktemp -d)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
if not type -q yay
|
if not type -q yay
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
inherit "$dir/../../../Common/Software/zoxide/main.fish"
|
inherit "$dir/../../../Common/Software/zoxide/main.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Common/Scripts/software.fish"
|
source "$dir/../../lib/software.fish"
|
||||||
|
|
||||||
function runYay -d "Run yay with pre-configured defaults"
|
function runYay -d "Run yay with pre-configured defaults"
|
||||||
if not isatty 0
|
if not isatty 0
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
. "$dir/../../Software/plasma/input.fish"
|
. "$dir/../../Software/plasma/input.fish"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
. "$dir/../../Software/plasma/input.fish"
|
. "$dir/../../Software/plasma/input.fish"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
set -l cmdline (cat /proc/$fish_pid/cmdline | string split0)
|
set -l cmdline (cat /proc/$fish_pid/cmdline | string split0)
|
||||||
source "$dir/../Scripts/settings.fish"
|
source "$dir/../../lib/settings.fish"
|
||||||
source "$dir/../Scripts/hooks.fish"
|
source "$dir/../../lib/hooks.fish"
|
||||||
|
|
||||||
if [ (id -u) -eq 0 ]
|
if [ (id -u) -eq 0 ]
|
||||||
source "$dir/../../config.fish"
|
source "$dir/../../lib/config.fish"
|
||||||
set -l sudoConfig "/etc/sudoers.d/PortValhalla"
|
set -l sudoConfig "/etc/sudoers.d/PortValhalla"
|
||||||
set -l channelDir /nix/var/nix/profiles/per-user/root/channels/nixpkgs
|
set -l channelDir /nix/var/nix/profiles/per-user/root/channels/nixpkgs
|
||||||
rm ~/.bash_profile
|
rm ~/.bash_profile
|
||||||
|
@ -79,7 +79,7 @@ else
|
||||||
|
|
||||||
runHook initializeUsers || begin
|
runHook initializeUsers || begin
|
||||||
if [ -n "$deployScript" ]
|
if [ -n "$deployScript" ]
|
||||||
source "$dir/../Scripts/settings.fish"
|
source "$dir/../../lib/settings.fish"
|
||||||
|
|
||||||
for name in (getUsers | jq '.[]' --raw-output0 | string split0)
|
for name in (getUsers | jq '.[]' --raw-output0 | string split0)
|
||||||
echo "Configuring user `$name`..."
|
echo "Configuring user `$name`..."
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
function runSetup
|
function runSetup
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../Scripts/settings.fish"
|
source "$dir/../../lib/settings.fish"
|
||||||
source "$dir/../Scripts/hooks.fish"
|
source "$dir/../../lib/hooks.fish"
|
||||||
|
|
||||||
if [ -z "$CONFIG_NAME" ]
|
if [ -z "$CONFIG_NAME" ]
|
||||||
selectProfile config
|
selectProfile config
|
||||||
|
@ -60,7 +60,7 @@ function runSetup
|
||||||
and runHook --force installValhallaDeps 'Please set up a function `installValhallaDeps` for installing `fish`, `git`, `jq`, `nix`, `sudo` and `tmux`.'
|
and runHook --force installValhallaDeps 'Please set up a function `installValhallaDeps` for installing `fish`, `git`, `jq`, `nix`, `sudo` and `tmux`.'
|
||||||
|
|
||||||
and echo "Cloning project..."
|
and echo "Cloning project..."
|
||||||
and source "$dir/../../copy-repo.fish" "$mountDir$PROJECT_CLONE_ROOT"
|
and source "$dir/../../lib/copy-repo.fish" "$mountDir$PROJECT_CLONE_ROOT"
|
||||||
runChroot "$mountDir" git config --system --add safe.directory "$PROJECT_CLONE_ROOT"
|
runChroot "$mountDir" git config --system --add safe.directory "$PROJECT_CLONE_ROOT"
|
||||||
and runHook setupOS
|
and runHook setupOS
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../Scripts/settings.fish"
|
source "$dir/../../lib/settings.fish"
|
||||||
set -l users (getUsers)
|
set -l users (getUsers)
|
||||||
|
|
||||||
echo "Creating users..."
|
echo "Creating users..."
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
. "$PSScriptRoot/Constants.ps1";
|
. "$PSScriptRoot/Constants.ps1";
|
||||||
. "$PSScriptRoot/../powershell/Profile.ps1";
|
. "$PSScriptRoot/../powershell/Profile.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
-Configurator {
|
-Configurator {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
source "$dir/../bash/profile.fish"
|
source "$dir/../bash/profile.fish"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
begin
|
begin
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/profile-base.fish"
|
source "$dir/../../../lib/profile-base.fish"
|
||||||
|
|
||||||
function getBashStatements
|
function getBashStatements
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
set -l bin
|
set -l bin
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
sudo systemctl enable --now docker
|
sudo systemctl enable --now docker
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
sudo cp "$dir/firefox.sh" /etc/profile.d/
|
sudo cp "$dir/firefox.sh" /etc/profile.d/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/profile-base.fish"
|
source "$dir/../../../lib/profile-base.fish"
|
||||||
|
|
||||||
function installFishProfile -a name title
|
function installFishProfile -a name title
|
||||||
addProfileStatement "$name" "$title" "/bin/env fish" fish /etc/fish/conf.d $argv[3..]
|
addProfileStatement "$name" "$title" "/bin/env fish" fish /etc/fish/conf.d $argv[3..]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/System.ps1";
|
. "$PSScriptRoot/../../../lib/System.ps1";
|
||||||
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
||||||
|
|
||||||
& {
|
& {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
set -l base "$dir/Main.ps1"
|
set -l base "$dir/Main.ps1"
|
||||||
source "$(status dirname)/../../Scripts/software.fish"
|
source "$(status dirname)/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -S -V base
|
function configureSW -S -V base
|
||||||
pwsh "$base" Configure
|
pwsh "$base" Configure
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/settings.fish"
|
source "$dir/../../../lib/settings.fish"
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW
|
function configureSW
|
||||||
set -l efiDir (getOSConfig boot.efiMountPoint)
|
set -l efiDir (getOSConfig boot.efiMountPoint)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
source "$dir/../bash/profile.fish"
|
source "$dir/../bash/profile.fish"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
sudo sed -i \
|
sudo sed -i \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir -a scope
|
function configureSW -V dir -a scope
|
||||||
sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable
|
sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
npm install --global n
|
npm install --global n
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function installSW -V dir
|
function installSW -V dir
|
||||||
sudo install -m 755 "$dir/nuke-usb.sh" /usr/local/bin/nuke-usb
|
sudo install -m 755 "$dir/nuke-usb.sh" /usr/local/bin/nuke-usb
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
# According to: https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks
|
# According to: https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
. "$PSScriptRoot/../aliae/Manage.ps1";
|
. "$PSScriptRoot/../aliae/Manage.ps1";
|
||||||
. "$PSScriptRoot/../powershell/Profile.ps1";
|
. "$PSScriptRoot/../powershell/Profile.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
set -l base "$dir/Main.ps1"
|
set -l base "$dir/Main.ps1"
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir -V base
|
function configureSW -V dir -V base
|
||||||
source "$dir/../bash/profile.fish"
|
source "$dir/../bash/profile.fish"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../powershell/Module.ps1";
|
. "$PSScriptRoot/../powershell/Module.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
|
|
||||||
$parameters = Get-ModuleInstallerComponents "posh-git";
|
$parameters = Get-ModuleInstallerComponents "posh-git";
|
||||||
Start-SoftwareInstaller @args @parameters;
|
Start-SoftwareInstaller @args @parameters;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function installSW -V dir
|
function installSW -V dir
|
||||||
sudo -HE pwsh "$dir/Main.ps1"
|
sudo -HE pwsh "$dir/Main.ps1"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../Software/powershell/Profile.ps1";
|
. "$PSScriptRoot/../../Software/powershell/Profile.ps1";
|
||||||
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
$null = New-Module {
|
$null = New-Module {
|
||||||
. "$PSScriptRoot/../../Scripts/Scripting.ps1";
|
. "$PSScriptRoot/../../../lib/Scripting.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
|
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
sudo -HE pwsh "$dir/Main.ps1" Configure
|
sudo -HE pwsh "$dir/Main.ps1" Configure
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
curl https://pyenv.run | bash
|
curl https://pyenv.run | bash
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
sudo cp "$dir/rclone.service" "$dir/rclone.target" "$dir/rclone@.service" /etc/systemd/user
|
sudo cp "$dir/rclone.service" "$dir/rclone.target" "$dir/rclone@.service" /etc/systemd/user
|
||||||
end
|
end
|
||||||
|
|
||||||
function userConfig -V dir -a name
|
function userConfig -V dir -a name
|
||||||
source "$dir/../../Scripts/settings.fish"
|
source "$dir/../../../lib/settings.fish"
|
||||||
set -l key "programs.rclone.configurations"
|
set -l key "programs.rclone.configurations"
|
||||||
set -l configs (getUserConfig "$name" "$key" --apply "builtins.attrNames" --json)
|
set -l configs (getUserConfig "$name" "$key" --apply "builtins.attrNames" --json)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../powershell/Module.ps1";
|
. "$PSScriptRoot/../powershell/Module.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
|
|
||||||
$parameters = Get-ModuleInstallerComponents "Terminal-Icons";
|
$parameters = Get-ModuleInstallerComponents "Terminal-Icons";
|
||||||
Start-SoftwareInstaller @args @parameters;
|
Start-SoftwareInstaller @args @parameters;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function installSW -V dir
|
function installSW -V dir
|
||||||
sudo -HE pwsh "$dir/Main.ps1"
|
sudo -HE pwsh "$dir/Main.ps1"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW
|
function configureSW
|
||||||
set -l configFile /etc/vimrc
|
set -l configFile /etc/vimrc
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW
|
function configureSW
|
||||||
begin
|
begin
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../../lib/SoftwareManagement.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
-UserConfigurator {
|
-UserConfigurator {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function userConfig -V dir
|
function userConfig -V dir
|
||||||
runPSUserConfig "$dir/Main.ps1" $argv
|
runPSUserConfig "$dir/Main.ps1" $argv
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../powershell/Profile.ps1";
|
. "$PSScriptRoot/../powershell/Profile.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
-Configurator {
|
-Configurator {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env fish
|
#!/bin/env fish
|
||||||
begin
|
begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../../lib/software.fish"
|
||||||
|
|
||||||
function configureSW -V dir
|
function configureSW -V dir
|
||||||
source "$dir/../bash/profile.fish"
|
source "$dir/../bash/profile.fish"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller -Force @args `
|
Start-SoftwareInstaller -Force @args `
|
||||||
-Installer {
|
-Installer {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/System.ps1";
|
. "$PSScriptRoot/../../../lib/System.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller -Force @args `
|
Start-SoftwareInstaller -Force @args `
|
||||||
-Installer {
|
-Installer {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../../lib/Software.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller -Force @args `
|
Start-SoftwareInstaller -Force @args `
|
||||||
-Installer {
|
-Installer {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../../lib/Software.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller -Force @args `
|
Start-SoftwareInstaller -Force @args `
|
||||||
-Installer {
|
-Installer {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../../lib/Software.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller -Force @args `
|
Start-SoftwareInstaller -Force @args `
|
||||||
-Installer {
|
-Installer {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../../lib/Software.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller -Force @args `
|
Start-SoftwareInstaller -Force @args `
|
||||||
-Installer {
|
-Installer {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
& {
|
& {
|
||||||
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
$softwarePath = "$PSScriptRoot/../../Software";
|
$softwarePath = "$PSScriptRoot/../../Software";
|
||||||
|
|
||||||
$appScripts = @(
|
$appScripts = @(
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
#!/bin/pwsh
|
#!/bin/pwsh
|
||||||
using namespace System.Security.Principal;
|
using namespace System.Security.Principal;
|
||||||
|
|
||||||
. "$PSScriptRoot/../Scripts/Security.ps1";
|
. "$PSScriptRoot/../lib/Security.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/WSL.ps1";
|
. "$PSScriptRoot/../lib/WSL.ps1";
|
||||||
|
|
||||||
$null = New-Module {
|
$null = New-Module {
|
||||||
. "$PSScriptRoot/../Scripts/Constants.ps1";
|
. "$PSScriptRoot/../lib/Constants.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/Deployment.ps1";
|
. "$PSScriptRoot/../lib/Deployment.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/PowerManagement.ps1";
|
. "$PSScriptRoot/../lib/PowerManagement.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/Registry.ps1";
|
. "$PSScriptRoot/../lib/Registry.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/Security.ps1";
|
. "$PSScriptRoot/../lib/Security.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/System.ps1";
|
. "$PSScriptRoot/../lib/System.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/Update.ps1";
|
. "$PSScriptRoot/../lib/Update.ps1";
|
||||||
. "$PSScriptRoot/../Scripts/Users.ps1";
|
. "$PSScriptRoot/../lib/Users.ps1";
|
||||||
. "$PSScriptRoot/../Types/WindowsInstallerAction.ps1";
|
. "$PSScriptRoot/../Types/WindowsInstallerAction.ps1";
|
||||||
. "$PSScriptRoot/../../Common/Scripts/Config.ps1";
|
. "$PSScriptRoot/../../lib/Config.ps1";
|
||||||
. "$PSScriptRoot/../../Common/Scripts/Operations.ps1";
|
. "$PSScriptRoot/../../lib/Operations.ps1";
|
||||||
. "$PSScriptRoot/../../Common/Scripts/Scripting.ps1";
|
. "$PSScriptRoot/../../lib/Scripting.ps1";
|
||||||
. "$PSScriptRoot/../../Common/Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../Common/Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../../Common/Types/InstallerAction.ps1";
|
||||||
|
|
||||||
<#
|
<#
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/pwsh
|
#!/bin/pwsh
|
||||||
. "$PSScriptRoot/../../Common/Scripts/Scripting.ps1";
|
. "$PSScriptRoot/../../lib/Scripting.ps1";
|
||||||
|
|
||||||
function Start-Setup {
|
function Start-Setup {
|
||||||
param($ConfigurationName)
|
param($ConfigurationName)
|
||||||
. "$PSScriptRoot/../../Common/Scripts/Config.ps1";
|
. "$PSScriptRoot/../../lib/Config.ps1";
|
||||||
. "$PSScriptRoot/../../Common/Scripts/Scripting.ps1";
|
. "$PSScriptRoot/../../lib/Scripting.ps1";
|
||||||
$Global:InformationPreference = "Continue";
|
$Global:InformationPreference = "Continue";
|
||||||
$Global:ErrorActionPreference = "Inquire";
|
$Global:ErrorActionPreference = "Inquire";
|
||||||
$env:CONFIG_NAME ??= $ConfigurationName;
|
$env:CONFIG_NAME ??= $ConfigurationName;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using namespace Microsoft.Win32;
|
using namespace Microsoft.Win32;
|
||||||
|
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Software/powershell/Profile.ps1";
|
. "$PSScriptRoot/../../../Common/Software/powershell/Profile.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller -Force @args `
|
Start-SoftwareInstaller -Force @args `
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/System.ps1";
|
. "$PSScriptRoot/../../lib/System.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller -Force @args `
|
Start-SoftwareInstaller -Force @args `
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
. "$PSScriptRoot/../../Scripts/AppAssociations.ps1";
|
. "$PSScriptRoot/../../lib/AppAssociations.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
-Installer {
|
-Installer {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Config.ps1";
|
. "$PSScriptRoot/../../../lib/Config.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
& {
|
& {
|
||||||
. "$PSScriptRoot/../../Scripts/Restoration.ps1";
|
. "$PSScriptRoot/../../lib/Restoration.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
$configPath = "$env:LocalAppData/LGHUB";
|
$configPath = "$env:LocalAppData/LGHUB";
|
||||||
|
|
||||||
<#
|
<#
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
& {
|
& {
|
||||||
. "$PSScriptRoot/../../Scripts/Restoration.ps1";
|
. "$PSScriptRoot/../../lib/Restoration.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/System.ps1";
|
. "$PSScriptRoot/../../../lib/System.ps1";
|
||||||
$path = "$HOME/Documents/ManiaPlanet";
|
$path = "$HOME/Documents/ManiaPlanet";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
-Installer {
|
-Installer {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../../Scripts/PowerManagement.ps1";
|
. "$PSScriptRoot/../../lib/PowerManagement.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
|
|
||||||
& {
|
& {
|
||||||
<#
|
<#
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
using namespace System.Security.AccessControl;
|
using namespace System.Security.AccessControl;
|
||||||
using namespace System.Security.Principal;
|
using namespace System.Security.Principal;
|
||||||
|
|
||||||
. "$PSScriptRoot/../../Scripts/Security.ps1";
|
. "$PSScriptRoot/../../lib/Security.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../lib/Software.ps1";
|
||||||
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
||||||
|
|
||||||
Start-SoftwareInstaller @args `
|
Start-SoftwareInstaller @args `
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue