PortValhalla/scripts/Arch/Software/nix/main.fish

22 lines
423 B
Fish
Raw Permalink Normal View History

#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
inherit "$dir/../../../Common/Software/nix/main.fish"
function installSW
yayinst \
nix \
nil-git
configureSW
end
function configureSW -V dir
sudo systemctl enable --now nix-daemon
configureSWBase configure $argv
end
runInstaller $argv
end