env to .profile; more ssh dns; ra-mux use .profile

This commit is contained in:
Snoweuph 2025-01-05 14:23:57 +01:00
parent 66c18480ec
commit 9aa2e001ad
Signed by: snoweuph
GPG key ID: BEFC41DA223CEC55
5 changed files with 47 additions and 40 deletions

View file

@ -7,8 +7,9 @@ switch-to-activity-c9029e69-ec79-4399-8d82-a2b36f65b1d5=none,none,Switch to acti
[KDE Keyboard Layout Switcher]
Switch keyboard layout to English (UK, extended, Windows)=none,none,Switch keyboard layout to English (UK\\, extended\\, Windows)
Switch to Last-Used Keyboard Layout=Meta+Alt+L,Meta+Alt+L,Switch to Last-Used Keyboard Layout
Switch to Next Keyboard Layout=Meta+Alt+K,Meta+Alt+K,Switch to Next Keyboard Layout
Switch keyboard layout to German (Macintosh)=none,none,Switch keyboard layout to German (Macintosh)
Switch to Last-Used Keyboard Layout=,Meta+Alt+L,Switch to Last-Used Keyboard Layout
Switch to Next Keyboard Layout=,Meta+Alt+K,Switch to Next Keyboard Layout
_k_friendly_name=Keyboard Layout Switcher
[kaccess]

View file

@ -17,3 +17,15 @@ Host portainer.admin.euph.site
IdentityFile ~/.ssh/admin-yubikey-secondary
IdentitiesOnly yes
Host nextcloud.euph.site
User root
IdentityFile ~/.ssh/admin-yubikey-primary
IdentityFile ~/.ssh/admin-yubikey-secondary
IdentitiesOnly yes
Host euph.email
User root
IdentityFile ~/.ssh/admin-yubikey-primary
IdentityFile ~/.ssh/admin-yubikey-secondary
IdentitiesOnly yes

View file

@ -3,7 +3,7 @@ Description=Multiplex Rust Analyzer Sessions, for a fast LSP experience
[Service]
Type=simple
ExecStart=/usr/bin/zsh -l -c 'exec "$@"' _ %h/.local/share/cargo/bin/ra-multiplex server
ExecStart=/usr/bin/zsh -lc 'source %h/.profile && exec ra-multiplex server'
[Install]
WantedBy=default.target

View file

@ -1,9 +1,35 @@
# System
export PATH="$PATH/$HOME/.local/bin"
export LOCAL_BIN="$HOME/.local/bin"
# Volta
export VOLTA_HOME="$HOME/.local/share/volta"
export PATH="$VOLTA_HOME/bin:$PATH"
# NPM
export npm_config_cache="$HOME/.cache/npm"
export npm_config_prefix="$HOME/.local/share/npm"
export npm_config_userconfig="$HOME/.config/npmrc"
export npm_config_loglevel="verbose"
export npm_config_log="$HOME/.local/share/npm/logs"
# Jetbrains Toolbox
export PATH="$PATH:/home/snoweuph/.local/share/JetBrains/Toolbox/scripts"
export JETBRAINS_TOOLBOX_HOME="/home/snoweuph/.local/share/JetBrains/Toolbox"
# Go
export GOPATH=~/.local/share/go
export GOBIN=$GOPATH/bin
# Rust
export CARGO_HOME=$HOME/.local/share/cargo
export RUSTUP_HOME=$HOME/.local/share/rustup
# Php
export COMPOSER_HOME=$HOME/.local/share/composer
export PATH="$PATH:$LOCAL_BIN:$VOLTA_HOME/bin:$GOBIN:$CARGO_HOME/bin:$COMPOSER_HOME/vendor/bin:$JETBRAINS_TOOLBOX_HOME/scripts:$"
# ROCM - RX 6650 XT
export HSA_OVERRIDE_GFX_VERSION=10.3.0
# Just
export JUST_UNSTABLE=1

36
.zshrc
View file

@ -48,54 +48,22 @@ fi
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
# Git
zinit snippet OMZP::git
# Containerization
zinit snippet OMZP::docker-compose
zinit snippet OMZP::podman
zinit snippet OMZP::toolbox
# NPM
export npm_config_cache="$HOME/.cache/npm"
export npm_config_prefix="$HOME/.local/share/npm"
export npm_config_userconfig="$HOME/.config/npmrc"
export npm_config_loglevel="verbose"
export npm_config_log="$HOME/.local/share/npm/logs"
# Volta
export VOLTA_HOME="$HOME/.local/share/volta"
[ ! -d $VOLTA_HOME ] && curl https://get.volta.sh | bash -s -- --skip-setup && volta install node@lts
# Go
export GOPATH=~/.local/share/go
export GOBIN=$GOPATH/bin
# Rust
export CARGO_HOME=$HOME/.local/share/cargo
export RUSTUP_HOME=$HOME/.local/share/rustup
zinit snippet OMZP::rust
# Php
export COMPOSER_HOME=$HOME/.local/share/composer
zinit snippet OMZP::composer
zinit snippet OMZP::symfony6
# ROCM
export HSA_OVERRIDE_GFX_VERSION=10.3.0 # RX 6650 XT
# Just
export JUST_UNSTABLE=1
# PATH
export PATH=$PATH:$VOLTA_HOME/bin:$GOBIN:$CARGO_HOME/bin:$COMPOSER_HOME/vendor/bin
source $HOME/.profile
# Install Dependencies
[ ! -d $VOLTA_HOME ] && curl https://get.volta.sh | bash -s -- --skip-setup && volta install node@lts
command -v go &>/dev/null || sudo dnf install go
[ ! -d $RUSTUP_HOME ] && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path -y
command -v composer &>/dev/null || sudo dnf install composer
# Install Scripts
$HOME/.config/install.sh