Advertisement
Guest User

Guix Home config

a guest
Nov 12th, 2021
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 2.06 KB | None | 0 0
  1. (use-modules
  2.   (gnu home)
  3.   (gnu packages)
  4.   (gnu services)
  5.   (guix gexp)
  6.   (gnu home services shells)
  7.   (gnu packages bash)
  8.   (flat packages emacs))
  9.  
  10. (home-environment
  11.   ;; (packages
  12.   ;;   (map specification->package
  13.   ;;        (list "steam"
  14.   ;;              "factorio"
  15.   ;;              "breeze-icons"
  16.   ;;              "papirus-icon-theme"
  17.   ;;              "arc-theme"
  18.   ;;              "materia-theme")))
  19.   (services
  20.     (list (service
  21.             home-bash-service-type
  22.             (home-bash-configuration
  23.               (aliases
  24.                '(("chezmoi" . "chezmoi -S ~/.site-data/chezmoi")
  25.                  ("stow" . "stow --target=$HOME")
  26.                  ("cp" . "cp -i")
  27.                  ("df" . "df -h")
  28.                  ("egrep" . "egrep --color=auto")
  29.                  ("fgrep" . "fgrep --color=auto")
  30.                  ("grep" . "grep --color=auto")
  31.                  ("free" . "free -m")
  32.                  ("ls" . "ls --color=auto")
  33.                  ("more" . "less")))
  34.           (environment-variables
  35.            `(("PATH" . "$HOME/.scripts:$PATH")
  36.              ("GUIX_EXTRA_PROFILES" . "$HOME/.guix-extra-profiles")
  37.              ("GUILE_LOAD_PATH" . ,(string-append "$HOME/.config/guix/core:"
  38.                               "$HOME/.config/guix/nonguix:"
  39.                               "$HOME/.config/guix/gaming:"
  40.                               "$GUILE_LOAD_PATH"))
  41.               ("GUILE_LOAD_COMPILED_PATH" .
  42.                "$HOME/.config/guix/core:$GUILE_LOAD_COMPILED_PATH")
  43.               ("EDITOR" . ,(file-append emacs-native-comp "/bin/emacs"))
  44.               ("VISUAL" . ,(file-append emacs-native-comp "/bin/emacs"))
  45.               ("SHELL" . ,(file-append bash "/bin/bash"))))
  46.            (bashrc
  47.              (list (local-file
  48.                      "/home/hapster/.config/guix/home/.bashrc"
  49.                      "bashrc")))
  50.            (bash-profile
  51.              (list (local-file
  52.                      "/home/hapster/.config/guix/home/.bash_profile"
  53.                      "bash_profile")))
  54.            (bash-logout
  55.              (list (local-file
  56.                      "/home/hapster/.config/guix/home/.bash_logout"
  57.                      "bash_logout"))))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement