From 1d4eb81f907e6f19cbbe9b5fd0c6402cb31632b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 8 Oct 2025 11:29:41 +0200 Subject: Add Guix --- config/guix/channels.scm | 10 ++++++++++ install | 4 ++++ profile | 6 ++++++ 3 files changed, 20 insertions(+) create mode 100644 config/guix/channels.scm diff --git a/config/guix/channels.scm b/config/guix/channels.scm new file mode 100644 index 0000000..a56d8b6 --- /dev/null +++ b/config/guix/channels.scm @@ -0,0 +1,10 @@ +(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")))) + %default-channels) diff --git a/install b/install index 4c0c9a5..aa07585 100755 --- a/install +++ b/install @@ -37,6 +37,10 @@ if ask "nix" "Install Nix configuration"; then inst private/config/nix/builders ~/.config/nix/builders fi +if ask "guix" "Install Guix configuration"; then + inst config/guix/channels.scm ~/.config/guix/channels.scm +fi + if ask "clituls" "Install configurations for various CLI utility tools"; then inst screenrc ~/.screenrc inst local/share/mc/skins/nord16M.ini ~/.local/share/mc/skins/nord16M.ini diff --git a/profile b/profile index f0a9fd5..dd95c0a 100644 --- a/profile +++ b/profile @@ -19,6 +19,12 @@ for profile in "$HOME"/.nix-profile/etc/profile.d/*; do source "$profile" done +# Guix +export GUIX_PROFILE="/home/cynerd/.guix-profile" +if [[ -d "$GUIX_PROFILE" ]]; then + source "$GUIX_PROFILE/etc/profile" +fi + # Rest of the profile run only if login is from linux console [[ "$(tty)" != /dev/tty* ]] && return -- cgit v1.2.3