diff options
| author | Karel Kočí <cynerd@email.cz> | 2025-10-08 11:29:41 +0200 |
|---|---|---|
| committer | Karel Kočí <cynerd@email.cz> | 2025-10-08 11:30:03 +0200 |
| commit | 1d4eb81f907e6f19cbbe9b5fd0c6402cb31632b5 (patch) | |
| tree | e4962037b2691e81a294b418369fc8ffc833c958 | |
| parent | 17ad846c2bc22ee5183b3ebdc25054c69dac73d3 (diff) | |
| download | myconfigs-1d4eb81f907e6f19cbbe9b5fd0c6402cb31632b5.tar.gz myconfigs-1d4eb81f907e6f19cbbe9b5fd0c6402cb31632b5.tar.bz2 myconfigs-1d4eb81f907e6f19cbbe9b5fd0c6402cb31632b5.zip | |
Add Guix
| -rw-r--r-- | config/guix/channels.scm | 10 | ||||
| -rwxr-xr-x | install | 4 | ||||
| -rw-r--r-- | profile | 6 |
3 files changed, 20 insertions, 0 deletions
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) @@ -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 @@ -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 |
