aboutsummaryrefslogtreecommitdiff
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
parent19e276aec224ab26db3a6d8d90eb4b2763b96f82 (diff)
downloadmyconfigs-d3a39b694edb87c1ab3f67d4b25b32c3361aab7d.tar.gz
myconfigs-d3a39b694edb87c1ab3f67d4b25b32c3361aab7d.tar.bz2
myconfigs-d3a39b694edb87c1ab3f67d4b25b32c3361aab7d.zip
guix: add elektroline channel and few more guix changesHEADmaster
-rw-r--r--config/guix/channels.scm17
-rwxr-xr-xinstall2
-rw-r--r--profile8
3 files changed, 17 insertions, 10 deletions
diff --git a/config/guix/channels.scm b/config/guix/channels.scm
index a56d8b6..6340814 100644
--- a/config/guix/channels.scm
+++ b/config/guix/channels.scm
@@ -1,10 +1,17 @@
(cons* (channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
- ;; Enable signature verification:
(introduction
- (make-channel-introduction
- "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
- (openpgp-fingerprint
- "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
+ (make-channel-introduction
+ "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
+ (openpgp-fingerprint
+ "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
+ (channel
+ (name 'elektroline)
+ (url "https://gitlab.com/elektroline-predator/guix-channel.git")
+ (introduction
+ (make-channel-introduction
+ "3fd9ac5fc2fb5b2c77b0fee16163beee419ae353"
+ (openpgp-fingerprint
+ "981B 17E8 E82C 8C25 4319 3517 DCEF 0A0E 5D03 79F3"))))
%default-channels)
diff --git a/install b/install
index 8c0dac6..5b9035d 100755
--- a/install
+++ b/install
@@ -43,7 +43,7 @@ if hascmd guix && ask "guix" "Install Guix configuration"; then
inst guile ~/.guile
inst config/guix/channels.scm ~/.config/guix/channels.scm
guix_install \
- guix guile guile-colorized guile-readline guile-lsp-server
+ guile-colorized guile-readline guile-lsp-server
fi
if ask "cliutils" "Install configurations for various CLI utility tools"; then
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