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

16 lines
412 B
Fish
Raw Normal View History

2024-07-16 20:17:07 +00:00
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
function configureSW -V dir -a scope
if [ "$scope" = "user" ]
set -l configFile ~/.config/nix/nix.conf
mkdir -p (dirname "$configFile")
cp "$dir/../../../../archiso/airootfs/root/.config/nix/nix.conf" "$configFile"
end
end
runInstaller $argv
end