home-config/home-configuration.scm
18357af871d760c558ef736a05c3dc34f3609453
· 3.9 KB · 74 lines
raw
| 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 packages) |
| 9 | (gnu packages vim) |
| 10 | (gnu packages gcc) |
| 11 | (gnu services) |
| 12 | (guix packages) |
| 13 | (guix gexp) |
| 14 | (gnu home services shells) |
| 15 | (gnu home services)) |
| 16 | |
| 17 | (define my-neovim |
| 18 | (package |
| 19 | (inherit neovim) |
| 20 | (native-inputs |
| 21 | (modify-inputs (package-native-inputs neovim) |
| 22 | (prepend gcc-12))))) |
| 23 | |
| 24 | (home-environment |
| 25 | ;; Below is the list of packages that will show up in your |
| 26 | ;; Home profile, under ~/.guix-home/profile. |
| 27 | (packages (append (specifications->packages (list "bat" |
| 28 | "qrencode" |
| 29 | "binutils" |
| 30 | "gcc-toolchain" |
| 31 | "libreoffice" |
| 32 | "flatpak" |
| 33 | "gnupg" |
| 34 | "lsof" |
| 35 | "pavucontrol" |
| 36 | "bind:utils" |
| 37 | "firefox" |
| 38 | "irssi" |
| 39 | "font-cns11643" |
| 40 | "syncthing" |
| 41 | "perl" |
| 42 | "tor" |
| 43 | "unzip" |
| 44 | "alacritty" |
| 45 | "htop" |
| 46 | "curl" |
| 47 | ;"my-neovim" |
| 48 | "weechat" |
| 49 | "icedove-minimal" |
| 50 | "gimp" |
| 51 | "python" |
| 52 | "sqlite" |
| 53 | "git")) |
| 54 | (list my-neovim))) |
| 55 | |
| 56 | ;; Below is the list of Home services. To search for available |
| 57 | ;; services, run 'guix home search KEYWORD' in a terminal. |
| 58 | (services |
| 59 | (list (service home-bash-service-type |
| 60 | (home-bash-configuration |
| 61 | (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l") |
| 62 | ("ls" . "ls -p --color=auto") |
| 63 | ("python" . "python3"))) |
| 64 | (bashrc (list (local-file |
| 65 | "/home/ryan/.config/guix/home-config/bashrc" |
| 66 | "bashrc"))) |
| 67 | (bash-profile (list (local-file |
| 68 | "/home/ryan/.config/guix/home-config/bash_profile" |
| 69 | "bash_profile"))))) |
| 70 | (service home-xdg-configuration-files-service-type |
| 71 | `(("nvim/init.vim" ,(local-file "nvim/config/init.vim")) |
| 72 | ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim")) )) |
| 73 | (service home-files-service-type |
| 74 | `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) ))))) |