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

22 lines
419 B
Fish
Raw Normal View History

#!/bin/env fish
begin
set -l dir (status dirname)
2024-11-01 12:12:16 +00:00
source "$dir/../../lib/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