docs: Qubes-related
This commit is contained in:
parent
f1994772ca
commit
fe6b236571
23
.README.md
23
.README.md
@ -23,19 +23,23 @@ automatically to a backup folder:
|
||||
```sh
|
||||
git clone --bare <git-repo-url> $HOME/.dotfiles
|
||||
|
||||
export ALL_PROXY=127.0.0.1:8082
|
||||
git clone --bare https://forge.chapril.org/michel_ouba/points.git $HOME/.dotfiles
|
||||
|
||||
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
|
||||
|
||||
dotfiles config --local status.showUntrackedFiles no
|
||||
|
||||
BRANCH=opt
|
||||
BKDIR=".dotfiles-backup/";
|
||||
dotfiles checkout 2>&1 | egrep "\s+" | awk {'print $1'} |
|
||||
dotfiles checkout ${BRANCH} 2>&1 | egrep "\s+" | awk {'print $1'} |
|
||||
xargs -I{} sh -c "mkdir -p \$(dirname ${BKDIR}{}); mv -iv {} ${BKDIR}{}";
|
||||
|
||||
dotfiles checkout
|
||||
dotfiles checkout ${BRANCH}
|
||||
```
|
||||
|
||||
When the `fetch` configuration is not set, insert the following line in
|
||||
`.dotfiles/config`:
|
||||
When the `fetch` configuration is not set, insert the following line in the
|
||||
_remote_ section of `.dotfiles/config`:
|
||||
|
||||
```config
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
@ -71,7 +75,7 @@ Recommended installation order:
|
||||
|
||||
- System Config
|
||||
- [Debian packages](#debian)
|
||||
- Qubes proxy scripts (TODO)
|
||||
- [Qubes proxy scripts](#qubes)
|
||||
- dotfiles (see above)
|
||||
- [ASDF](#asdf) & plugins
|
||||
- Newer Debian packages: `bin/versions_check`
|
||||
@ -80,6 +84,7 @@ Recommended installation order:
|
||||
- [lazygit](#lazygit)
|
||||
- [nnn](#nnn)
|
||||
- [neovim](#neovim)
|
||||
- Install into `/etc/skel` (see above)
|
||||
|
||||
## Generic Tips
|
||||
|
||||
@ -127,6 +132,14 @@ dpkg-divert --divert /usr/share/man/man1/fd.1.gz --rename /usr/share/man/man1/fd
|
||||
dpkg-divert --divert /usr/share/zsh/vendor-completions/_rg --rename /usr/share/zsh/vendor-completions/rg.zsh
|
||||
```
|
||||
|
||||
## Qubes proxy scripts {#qubes}
|
||||
|
||||
```sh
|
||||
chmod +x $HOME/bin/*-proxy
|
||||
```
|
||||
|
||||
TODO: Insert random part in filenames.
|
||||
|
||||
## ASDF & main plugins {#asdf}
|
||||
|
||||
`.zshrc` will install `asdf`.
|
||||
|
2
bin/curl-proxy
Normal file
2
bin/curl-proxy
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/env bash
|
||||
curl --proxy http://127.0.0.1:8082/ --tlsv1.2 --proto =https --max-time 180 "$@"
|
2
bin/wget-proxy
Normal file
2
bin/wget-proxy
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/env bash
|
||||
https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget --secure-protocol=TLSv1_2 --timeout=180 "$@"
|
Loading…
x
Reference in New Issue
Block a user