config.scm 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. ;; To reproduce the exact same profile, you also
  2. ;; need to capture the channels being used, as returned by "guix describe".
  3. ;; See the "Replicating Guix" section in the manual.
  4. (use-modules (guix gexp)
  5. (guix channels)
  6. (gnu home)
  7. (gnu packages)
  8. (gnu services)
  9. (gnu home services guix)
  10. (gnu home services shells)
  11. (gnu home services))
  12. (home-environment
  13. (packages (specifications->packages
  14. (list
  15. "alacritty"
  16. "audacity"
  17. "blender"
  18. "blueman"
  19. "breeze"
  20. "breeze-gtk"
  21. "breeze-icons"
  22. "clamav"
  23. "clipmenu"
  24. "cowsay"
  25. "daikichi"
  26. "desktop-file-utils"
  27. "direnv"
  28. "emacs"
  29. "falkon"
  30. "font-hack"
  31. "fortunes-jkirchartz"
  32. "gimp"
  33. "gnome-keyring"
  34. "h-client"
  35. "handbrake"
  36. "imagemagick"
  37. "icecat"
  38. "librewolf"
  39. "inkscape"
  40. "inxi"
  41. "jami"
  42. "kdeconnect"
  43. "kdenlive"
  44. "kdiskmark"
  45. "keychain"
  46. "kid3"
  47. "libnotify"
  48. "libreoffice"
  49. "maim"
  50. "meld"
  51. "mkvtoolnix:gui"
  52. "mu"
  53. "mupdf"
  54. "nextcloud-client"
  55. "nnn"
  56. "nsxiv"
  57. "nyxt"
  58. "offlineimap3"
  59. "pass-otp"
  60. "password-store"
  61. "pavucontrol"
  62. "pdfarranger"
  63. "picom"
  64. "python-wrapper"
  65. "qemu"
  66. "qutebrowser"
  67. "redshift"
  68. "rofi"
  69. "rxvt-unicode"
  70. "supertuxkart"
  71. "tabbed"
  72. ;;"telegram-desktop"
  73. "thunar-archive-plugin"
  74. "transmission"
  75. "transmission:gui"
  76. "transmission-remote-gtk"
  77. "virt-manager"
  78. "vlc"
  79. "vorbis-tools"
  80. "yt-dlp"
  81. "zathura"
  82. "zathura-cb"
  83. "zathura-djvu"
  84. "zathura-pdf-mupdf"
  85. "zathura-ps"
  86. ;; Command-line tools
  87. "calc"
  88. "lshw"
  89. "htop"
  90. "socat"
  91. "zbar"
  92. ;; Command-line utils
  93. "acpica"
  94. "xsel"
  95. "unzip"
  96. "zip"
  97. "pigz"
  98. "pv"
  99. ;; Dev tools
  100. "rust"
  101. "rust:cargo"
  102. "rust:tools")))
  103. (services
  104. (list
  105. (service home-bash-service-type
  106. (home-bash-configuration
  107. (aliases '(;; Modified commands
  108. ("l" . "ls -CF")
  109. ("la" . "ls -A")
  110. ("lla" . "ls -alF")
  111. ;; Utility commands
  112. ("mpc" . "ncmpcpp")
  113. ("emc" . "em -nw")
  114. ;;("acortar" . "curl -s \"http://is.gd/create.php?format=simple&url=$(xsel -po)\" | xsel -pi")
  115. ("apagar" . "sudo shutdown -h 14:20")
  116. ("bajar" . "plowdown")
  117. ("subir" . "plowup")
  118. ("search-word" . "find . -type f -print0 | xargs -0 grep -l ")
  119. ("s" . "screen")
  120. ("screen" . "screen -aAxRl")
  121. ("jpg-optimized" . "find . -name *.jpg -exec jpegoptim --max=80 -t '\\'''\\'' {} \\;")
  122. ("prime-disable" . "export DRI_PRIME=0")
  123. ("prime-enable" . "export DRI_PRIME=1")
  124. ("mu4e" . "em -c -n --eval '\\''(mu4e)'\\''")
  125. ("webcam" . "webcam_mods bg-blur")
  126. ;; Custom ~/.scripts commands
  127. ("pass" . "$HOME/.scripts/pass-utils/passp")
  128. ("pomf" . "$HOME/.scripts/pomf.py")
  129. ("pomf-w" . "$HOME/.scripts/scrotpomf.sh")
  130. ("capas2png" . "$HOME/.scripts/Inkscape/layers2pngs.py")
  131. ("davpush" . "$HOME/.scripts/davpush.pl")
  132. ("tvgnu" . "$HOME/.scripts/TVenGNU.sh")
  133. ("haste" . "HASTE_SERVER=http://vte.distopico.info haste")
  134. ("hastebin" . "$HOME/.scripts/haste.sh")
  135. ;; Alias directories
  136. ("home" . "cd $HOME/")
  137. ("descargas" . "cd $HOME/Downloads")
  138. ("escritorio" . "cd $HOME/Desktop")
  139. ("musica" . "cd $HOME/Music")
  140. ("imagenes" . "cd $HOME/Pictures")
  141. ("publico" . "cd $HOME/Public")
  142. ("videos" . "cd $HOME/Videos")
  143. ;; Dist Parabola
  144. ("update-grub" . "sudo grub-mkconfig -o /boot/grub/grub.cfg")
  145. ;; Dist Debian Based
  146. ("repo" . "sudo add-apt-repository ")
  147. ("build-dep" . "sudo apt-get build-dep ")
  148. ("dist-upgrade" . "sudo apt-get dist-upgrade")
  149. ("search-app" . "sudo aptitude search")
  150. ("update-full" . "sudo aptitude full-upgrade -y && sudo aptitude clean")
  151. ;; Dist Guix
  152. ("guix-reconfigure" . "sudo guix system reconfigure /etc/config.scm; sudo update-boot")
  153. ("guix-home" . "guix home reconfigure ~/src/guix-config/config.scm")))
  154. (bashrc `(,(local-file ".bashrc" "bashrc")))
  155. (bash-profile `(,(local-file ".bash_profile" "bash_profile")))))
  156. (simple-service 'base-configuration
  157. home-files-service-type
  158. `((".Xresources" ,(local-file ".Xresources" "Xresources"))
  159. (".Xdefaults" ,(local-file ".Xdefaults" "Xdefaults"))))
  160. (simple-service 'cowsay-configuration
  161. home-files-service-type
  162. `((".cowsay/small.cow" ,(local-file "cowsay/small.cow"))))
  163. (simple-service 'variant-packages-service
  164. home-channels-service-type
  165. (cons
  166. (channel
  167. (name 'rustup)
  168. (url "https://github.com/declantsien/guix-rustup")
  169. (introduction
  170. (make-channel-introduction
  171. "325d3e2859d482c16da21eb07f2c6ff9c6c72a80"
  172. (openpgp-fingerprint
  173. "F695 F39E C625 E081 33B5 759F 0FC6 8703 75EF E2F5"))))
  174. %default-channels)))))