chore(guix): clean up home and config
08c27a87
2 file(s) · +14 −19
| 1 | - | (use-modules (gnu) (gnu system nss) (guix gexp) (rosenthal services networking) |
|
| 1 | + | (use-modules (gnu) |
|
| 2 | + | (gnu system nss) |
|
| 3 | + | (guix gexp) |
|
| 4 | + | (rosenthal services networking) |
|
| 2 | 5 | (nongnu packages linux) (nongnu system linux-initrd)) |
|
| 6 | + | ||
| 3 | 7 | (use-service-modules base desktop xorg networking ssh docker dbus shepherd) |
|
| 4 | - | (use-package-modules bootloaders wm window-management text-editors fonts |
|
| 5 | - | terminals version-control ncurses xdisorg admin |
|
| 6 | - | xorg compton lxde ssh golang docker containers rsync emacs base |
|
| 7 | - | shells image-viewers librewolf tmux python) |
|
| 8 | + | ||
| 9 | + | (use-package-modules bootloaders wm window-management text-editors fonts |
|
| 10 | + | terminals version-control ncurses admin |
|
| 11 | + | compton lxde ssh golang docker containers |
|
| 12 | + | rsync emacs base shells image-viewers librewolf |
|
| 13 | + | tmux python) |
|
| 8 | 14 | ||
| 9 | 15 | (operating-system |
|
| 10 | 16 | (host-name "benson") |
|
| 39 | 45 | (name "stevedylandev") |
|
| 40 | 46 | (group "users") |
|
| 41 | 47 | (shell (file-append zsh "/bin/zsh")) |
|
| 42 | - | ;; "docker" lets you run docker without sudo |
|
| 43 | - | (supplementary-groups '("wheel" "netdev" "audio" "video" "docker"))) |
|
| 48 | + | (supplementary-groups '("wheel" "netdev" "audio" "video" ))) |
|
| 44 | 49 | %base-user-accounts)) |
|
| 45 | 50 | ||
| 46 | 51 | (packages (append (list |
|
| 58 | 63 | git btop ncurses openssh rsync fastfetch tmux |
|
| 59 | 64 | ;; dev |
|
| 60 | 65 | go |
|
| 61 | - | python ; provides python3 and pip3 |
|
| 66 | + | python |
|
| 62 | 67 | docker-cli |
|
| 63 | 68 | (specification->package "cloudflared")) ; from Rosenthal channel |
|
| 64 | 69 | %base-packages)) |
|
| 1 | - | ;; Guix Home configuration for stevedylandev. |
|
| 2 | - | ;; Apply with: guix home reconfigure ~/guix-dotfiles/home.scm |
|
| 1 | + | ;; Guix Home configuration |
|
| 3 | 2 | (use-modules (gnu home) |
|
| 4 | 3 | (gnu home services) |
|
| 5 | 4 | (gnu home services shells) |
|
| 15 | 14 | (list "zsh" |
|
| 16 | 15 | "zsh-autosuggestions" |
|
| 17 | 16 | "zsh-syntax-highlighting" |
|
| 18 | - | ;; tools the zshrc aliases/functions/init rely on |
|
| 19 | 17 | "starship" "zoxide" "fzf" "fd" "bat" "eza" "jless" |
|
| 20 | 18 | "fastfetch" "xclip" |
|
| 21 | - | ;; terminal multiplexer; tmux.conf uses xdg-open for `prefix o` |
|
| 22 | 19 | "tmux" "xdg-utils" |
|
| 23 | - | ;; encryption and password management |
|
| 24 | 20 | "gnupg" "pinentry" "password-store"))) |
|
| 25 | 21 | ||
| 26 | - | ;; Language servers that emacs/lisp/init-lang.el starts through eglot |
|
| 27 | 22 | (define %lsp-packages |
|
| 28 | 23 | (specifications->packages |
|
| 29 | 24 | (list "guile-lsp-server" |
|
| 32 | 27 | "lua-language-server" |
|
| 33 | 28 | "python-lsp-server"))) |
|
| 34 | 29 | ||
| 35 | - | ;; Language runtimes; Guix's "python" package provides python3 and pip3 |
|
| 36 | 30 | (define %lang-packages |
|
| 37 | 31 | (specifications->packages |
|
| 38 | 32 | (list "python"))) |
|
| 57 | 51 | (service home-files-service-type |
|
| 58 | 52 | `((".guile" ,%default-dotguile) |
|
| 59 | 53 | (".Xdefaults" ,%default-xdefaults) |
|
| 60 | - | ;; Emacs config files are linked into ~/.emacs.d so that |
|
| 61 | - | ;; elpa/ and other runtime state stay writable there. |
|
| 62 | 54 | (".emacs.d/early-init.el" ,(local-file "emacs/early-init.el")) |
|
| 63 | 55 | (".emacs.d/init.el" ,(local-file "emacs/init.el")) |
|
| 64 | - | (".emacs.d/org.css" ,(local-file "emacs/org.css")) |
|
| 65 | 56 | (".emacs.d/lisp" ,(local-file "emacs/lisp" #:recursive? #t)) |
|
| 66 | 57 | (".emacs.d/themes" ,(local-file "emacs/themes" #:recursive? #t)))) |
|
| 67 | 58 | ||
| 77 | 68 | ("gdb/gdbinit" ,%default-gdbinit) |
|
| 78 | 69 | ("nano/nanorc" ,%default-nanorc))) |
|
| 79 | 70 | ||
| 80 | - | ;; ~/.local/share/fonts is on fontconfig's default search path |
|
| 81 | 71 | (service home-xdg-data-files-service-type |
|
| 82 | 72 | `(("fonts/BerkeleyMonoNerdFontMono-Regular.ttf" |
|
| 83 | 73 | ,(local-file "fonts/BerkeleyMonoNerdFontMono-Regular.ttf"))))) |
|