2024-07-17 12:18:27 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
2024-11-01 12:12:16 +00:00
|
|
|
source "$dir/../../lib/software.fish"
|
2024-10-11 23:54:31 +00:00
|
|
|
inherit "$dir/../../../Common/Software/nix/main.fish"
|
2024-07-17 12:18:27 +00:00
|
|
|
|
|
|
|
function installSW
|
|
|
|
yayinst \
|
|
|
|
nix \
|
|
|
|
nil-git
|
|
|
|
|
|
|
|
configureSW
|
|
|
|
end
|
|
|
|
|
|
|
|
function configureSW -V dir
|
|
|
|
sudo systemctl enable --now nix-daemon
|
2024-10-11 23:54:31 +00:00
|
|
|
configureSWBase configure $argv
|
2024-07-17 12:18:27 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
runInstaller $argv
|
|
|
|
end
|