diff options
| author | Karel Kočí <cynerd@email.cz> | 2026-05-12 15:09:43 +0200 |
|---|---|---|
| committer | Karel Kočí <cynerd@email.cz> | 2026-05-12 15:09:43 +0200 |
| commit | d3a39b694edb87c1ab3f67d4b25b32c3361aab7d (patch) | |
| tree | c7fc46791a984e1a02880c0277b5b127aababab6 /profile | |
| parent | 19e276aec224ab26db3a6d8d90eb4b2763b96f82 (diff) | |
| download | myconfigs-d3a39b694edb87c1ab3f67d4b25b32c3361aab7d.tar.gz myconfigs-d3a39b694edb87c1ab3f67d4b25b32c3361aab7d.tar.bz2 myconfigs-d3a39b694edb87c1ab3f67d4b25b32c3361aab7d.zip | |
Diffstat (limited to 'profile')
| -rw-r--r-- | profile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
