function installValhallaDeps -V dir -a mountDir
    source "$dir/../lib/software.fish"
    set -l args

    if [ -n "$mountDir" ]
        set -a args --root "$mountDir"
    end

    and pacinst $args fish git jq nix openssh sudo tmux
    sudo systemctl enable --now nix-daemon
end