Advertisement
Guest User

guix home

a guest
Oct 6th, 2024
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.38 KB | None | 0 0
  1. ;; This "home-environment" file can be passed to 'guix home reconfigure'
  2. ;; to reproduce the content of your profile. This is "symbolic": it only
  3. ;; specifies package names. To reproduce the exact same profile, you also
  4. ;; need to capture the channels being used, as returned by "guix describe".
  5. ;; See the "Replicating Guix" section in the manual.
  6.  
  7. (use-modules (gnu home)
  8. (gnu home services)
  9. (gnu home services shells)
  10. (gnu home services desktop)
  11. (gnu services)
  12. (gnu packages)
  13. (gnu packages admin)
  14. (guix gexp)
  15. (guix transformations))
  16.  
  17. (define (specification->packages->nvda . xs)
  18. (define ->nvda
  19. (options->transformation '((with-graft . "mesa=nvda"))))
  20. (let ((fxn (compose ->nvda specification->package)))
  21. (map fxn xs)))
  22.  
  23. (define (specification->packages . xs)
  24. (map specification->package xs))
  25.  
  26. (home-environment
  27. (packages (append
  28. (specification->packages->nvda
  29. "mesa-utils")
  30. (specification->packages
  31. "xscreensaver"
  32. "cuda-toolkit"
  33. "stumpwm"
  34. "xinit"
  35. "sbcl"
  36. "stumpish"
  37. "sbcl-stumpwm-cpu"
  38. "sbcl-stumpwm-mem"
  39. "sbcl-stumpwm-net"
  40. "sbcl-stumpwm-stumptray"
  41. "sbcl-stumpwm-ttf-fonts"
  42. "sbcl-stumpwm-wifi"
  43. "sbcl-stumpwm-binwarp"
  44. "sbcl-stumpwm-globalwindows"
  45. "sbcl-stumpwm-disk"
  46. "sbcl-stumpwm-kbd-layouts"
  47. "sbcl-stumpwm-notify"
  48. "sbcl-stumpwm-pamixer"
  49. "sbcl-stumpwm-pass"
  50. "sbcl-stumpwm-screenshot"
  51. "sbcl-stumpwm-swm-gaps"
  52. "sbcl-stumpwm-winner-mode"
  53. "sbcl-stumpwm-hostname"
  54. "sbcl-stumpwm-battery-portable"
  55. "stumpwm-with-slynk"
  56. "emacs"
  57. "emacs-pyvenv"
  58. "emacs-llm"
  59. "emacs-helm"
  60. "emacs-magit"
  61. "emacs-flexoki-themes"
  62. "emacs-modus-themes"
  63. "emacs-expand-region"
  64. "emacs-multiple-cursors"
  65. "emacs-guix"
  66. "emacs-haskell-mode"
  67. "emacs-org-bullets"
  68. "emacs-gruvbox-theme"
  69. "emacs-flycheck"
  70. "emacs-slime"
  71. "emacs-stumpwm-mode"
  72. "emacs-agda2-mode"
  73. "tree-sitter"
  74. "tree-sitter-javascript"
  75. "tree-sitter-typescript"
  76. "tree-sitter-json"
  77. "font-dejavu"
  78. "ghc"
  79. "cabal-install"
  80. "hlint"
  81. "agda"
  82. "texlive"
  83. "translate-shell"
  84. "gcc-toolchain"
  85. "telegram-desktop"
  86. "git"
  87. "kitty"
  88. "okular"
  89. "qutebrowser"
  90. "nyxt"
  91. "nitrogen"
  92. "bluez"
  93. "picom"
  94. "netcat"
  95. "pandoc"
  96. "python"
  97. "python-pip"
  98. "bitlbee-discord"
  99. "bitlbee"
  100. "setxkbmap"
  101. "xsetroot"
  102. "xf86-input-libinput"
  103. "xf86-input-synaptics"
  104. "python"
  105. "node"
  106. "nss-certs")))
  107. (services
  108. (list (service home-startx-command-service-type)
  109. (service home-files-service-type
  110. `((".emacs.d/init.el", (local-file "/home/I/src/home/programs/emacs/init.el"))
  111. (".config/kitty/kitty.conf", (local-file "/home/I/src/home/programs/kitty/kitty.conf"))
  112. (".config/xmonad/xmonad.hs", (local-file "/home/I/src/home/programs/xmonad/xmonad.hs"))
  113. (".config/xmonad/.xmobarrc", (local-file "/home/I/src/home/programs/xmonad/xmobarrc"))
  114. (".config/picom/picom.conf", (local-file "/home/I/src/home/programs/picom/picom.conf"))
  115. (".config/qutebrowser/config.py", (local-file "/home/I/src/home/programs/qutebrowser/config.py"))
  116. (".xinitrc", (local-file "/home/I/src/home/programs/xinit/xinitrc"))
  117. (".config/stumpwm/config", (local-file "/home/I/src/home/programs/stumpwm/config"))
  118. (".config/stumpwm/init.lisp", (local-file "/home/I/src/home/programs/stumpwm/init.lisp"))))
  119. (simple-service 'env-vars
  120. home-environment-variables-service-type
  121. '(("GIT_SSL_CAINFO" . "/home/I/.guix-profile/etc/ssl/certs/ca-certificates.crt")
  122. ("CUDA_PATH" . "/gnu/store/r4wy8h5csl01h6y9vn37682jqs61fn1v-cuda-toolkit-12.4.0")
  123. ("GIT_EXEC_PATH" . "/home/I/.guix-profile/libexec/git-core")
  124. ("C_INCLUDE_PATH" . "/home/I/.guix-profile/include")
  125. ("CPLUS_INCLUDE_PATH" . "/home/I/.guix-profile/include/c++:/home/I/.guix-profile/include")
  126. ("LIBRARY_PATH" . "/home/I/.guix-profile/lib")
  127. ("GUILE_LOAD_PATH" . "/home/I/.guix-profile/share/guile/site/3.0")
  128. ("GUILE_LOAD_COMPILED_PATH" . "/home/I/.guix-profile/lib/guile/3.0/site-ccache:/home/I/.guix-profile/share/guile/site/3.0")
  129. ("EMACSLOADPATH" . "/home/I/.guix-profile/share/emacs/site-lisp")
  130. ("INFOPATH" . "/home/I/.guix-profile/share/info")
  131. ("XDG_DATA_DIRS" . "/home/I/.guix-profile/share")
  132. ("GIO_EXTRA_MODULES" . "/home/I/.guix-profile/lib/gio/modules")
  133. ("GST_PLUGIN_SYSTEM_PATH" . "/home/I/.guix-profile/lib/gstreamer-1.0")
  134. ("GUIX_GTK3_PATH" . "/home/I/.guix-profile/lib/gtk-3.0")
  135. ("VDPAU_DRIVER_PATH" . "/home/I/.guix-profile/lib/vdpau")
  136. ("ICECAT_SYSTEM_DIR" . "/home/I/.guix-profile/lib/icecat")
  137. ("CMAKE_PREFIX_PATH" . "/home/I/.guix-profile/")
  138. ("XDG_CONFIG_DIRS" . "/home/I/.guix-profile/etc" )
  139. ("SSL_CERT_DIR" . "/home/I/.guix-profile/etc/ssl/certs")
  140. ("SSL_CERT_FILE" . "/home/I/.guix-profile/etc/ssl/certs/ca-certificates.crt")))
  141. (service home-fish-service-type)
  142. (service home-startx-command-service-type))))
  143.  
  144.  
  145.  
  146.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement