ENH include a few nice scripts on headless configurations

This commit is contained in:
Nathan Dwarshuis 2022-08-29 17:54:22 -04:00
parent 9a00002e7a
commit 55ddffcb00
2 changed files with 9 additions and 18 deletions

View File

@ -1,5 +1,13 @@
{{- if not .desktop }} {{- if not .desktop }}
.bin .bin/*
!.bin/bootstrap_mamba
!.bin/compress_pdf
!.bin/efi-update
!.bin/gpg-recv-http
!.bin/ln-replace
!.bin/ssh-def-keygen
!.bin/tmuxctl
.config/* .config/*
!.config/gnupg !.config/gnupg

View File

@ -1,17 +0,0 @@
#! /bin/bash
# locally install mamba for this user
bin_path=~/.local/bin/mamba_installer.sh
mamba_root=$XDG_DATA_HOME/mambaforge
# this needs to be present or else the installer will fail
mkdir -p $XDG_DATA_HOME/conda/{pkgs,envs}
# TODO configure version
#curl -L -O "https://github.com/conda-forge/miniforge/releases/download/4.13.0-1/Mambaforge-$(uname)-$(uname -m).sh"
curl -L -o "$bin_path" "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash "$bin_path" -p "$mamba_root" -b -f
rm -f "$bin_path"