aboutsummaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2026-05-12 15:09:43 +0200
committerKarel Kočí <cynerd@email.cz>2026-05-12 15:09:43 +0200
commitd3a39b694edb87c1ab3f67d4b25b32c3361aab7d (patch)
treec7fc46791a984e1a02880c0277b5b127aababab6 /profile
parent19e276aec224ab26db3a6d8d90eb4b2763b96f82 (diff)
downloadmyconfigs-d3a39b694edb87c1ab3f67d4b25b32c3361aab7d.tar.gz
myconfigs-d3a39b694edb87c1ab3f67d4b25b32c3361aab7d.tar.bz2
myconfigs-d3a39b694edb87c1ab3f67d4b25b32c3361aab7d.zip
guix: add elektroline channel and few more guix changesHEADmaster
Diffstat (limited to 'profile')
-rw-r--r--profile8
1 files changed, 4 insertions, 4 deletions
diff --git a/profile b/profile
index dd95c0a..13d68a1 100644
--- a/profile
+++ b/profile
@@ -20,10 +20,10 @@ for profile in "$HOME"/.nix-profile/etc/profile.d/*; do
done
# Guix
-export GUIX_PROFILE="/home/cynerd/.guix-profile"
-if [[ -d "$GUIX_PROFILE" ]]; then
- source "$GUIX_PROFILE/etc/profile"
-fi
+GUIX_PROFILE="$HOME/.config/guix/current"
+! [[ -d "$GUIX_PROFILE" ]] || source "$GUIX_PROFILE/etc/profile"
+GUIX_PROFILE="$HOME/.guix-profile"
+! [[ -d "$GUIX_PROFILE" ]] || source "$GUIX_PROFILE/etc/profile"
# Rest of the profile run only if login is from linux console
[[ "$(tty)" != /dev/tty* ]] && return