Browse Source

meta: smooth out bootstrap

master
sentriz 1 month ago
parent
commit
828688d4b8
No known key found for this signature in database GPG Key ID: 9A8DAE1CA907B862
4 changed files with 29 additions and 4 deletions
  1. +1
    -0
      conf_common/.config/fish/base.fish
  2. +10
    -0
      conf_extra/.local/bin/install-packages
  3. +5
    -4
      docs/desktop/gpg.md
  4. +13
    -0
      install-extra

+ 1
- 0
conf_common/.config/fish/base.fish View File

@@ -17,6 +17,7 @@ set -gx DOCKER_BUILDKIT '1'
set -gx LESSKEY '-'
set -gx LESSHISTFILE '-'
set -gx CARGO_HOME "$XDG_DATA_HOME/cargo"
set -gx CARGO_NET_GIT_FETCH_WITH_CLI 'true'
set -gx RUSTUP_HOME "$XDG_DATA_HOME/rustup"
set -gx PYTHON_VENVS_DIR "$XDG_CACHE_HOME/venvs"



+ 10
- 0
conf_extra/.local/bin/install-packages View File

@@ -3,6 +3,16 @@

set -e

export GIT_CONFIG_GLOBAL=/dev/null

if ! type -p yay >/dev/null; then
sudo pacman -S --needed git base-devel
git clone "https://aur.archlinux.org/yay-bin.git" /tmp/yay
cd /tmp/yay || exit
makepkg -si
cd -
fi

function list() {
grep -Po "^$1:\K.*" "$XDG_CONFIG_HOME/packages"
}


+ 5
- 4
docs/desktop/gpg.md View File

@@ -15,7 +15,8 @@ notable dotfiles:
### commands

$ gpg --import <usb-stick>/senan_kelly.asc
$ systemctl --user enable --now gpg-agent-ssh.socket
$ systemctl --user enable --now gpg-agent-extra.socket
$ systemctl --user enable --now gpg-agent-browser.socket
$ systemctl --user enable --now gpg-agent.socket
$ systemctl --user enable --now \
gpg-agent-ssh.socket \
gpg-agent-extra.socket \
gpg-agent-browser.socket \
gpg-agent.socket

+ 13
- 0
install-extra View File

@@ -1,3 +1,16 @@
#!/usr/bin/env bash

# don't symlink full directories that will be added to
# we only want to symlink some files inside them
mkdir ~/.gnupg
mkdir ~/.local/share/flatpak
mkdir ~/.local/share/applications

chown -R "$USER:$USER" ~/.gnupg
chmod -R go-rwx ~/.gnupg

stow -v --ignore='running' --target ~ -R conf_extra

echo ""
echo "next, launch a fish shell for updated \$PATH vars and run"
echo "$ install-packages"

Loading…
Cancel
Save