[rc/zsh] add a few env vars related to guix and certs
[~bandali/configs] / rc.org
diff --git a/rc.org b/rc.org
index e671f4e..3f85136 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -1597,6 +1597,9 @@ from amin@aminb.org
 user amin@aminb.org
 passwordeval gpg2 --no-tty -q -d ~/.passwd/amin.gpg
 
+account bandali-me : aminb
+from amin@bandali.me
+
 # gnu
 account gnu
 host fencepost.gnu.org
@@ -3865,7 +3868,6 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
 exec swayidle \
    timeout 120  '[ -f ~/.nosleep ] || swaymsg "output * dpms off"' \
         resume  '[ -f ~/.nosleep ] || swaymsg "output * dpms on"'  \
-   before-sleep swaylock
 
 
 ### Key bindings
@@ -3873,7 +3875,9 @@ exec swayidle \
 # Basics:
 #
     # start a terminal
-    bindsym $mod+Return exec $term
+    bindsym $mod+Return exec $term -name floating
+    bindsym $mod+Shift+Return exec $term
+    for_window [class="URxvt" instance="floating"] floating enable
 
     # kill focused window
     bindsym $mod+Shift+q kill
@@ -5377,6 +5381,12 @@ export MOZ_USE_XINPUT2=1  # precise scrolling in firefox
 export NIXPKGS=$HOME/src/git/nixpkgs
 
 if [ -e /home/amin/.nix-profile/etc/profile.d/nix.sh ]; then . /home/amin/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
+
+export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
+export PATH="/$HOME/.config/guix/current/bin${PATH:+:}$PATH"
+export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
+export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
+export GIT_SSL_CAINFO="$SSL_CERT_FILE"
 #+end_src
 
 *** zshenv