home-config/home-configuration.scm
0f472179ea1aaab0ab68a109c34fd78b25642422
· 13.4 KB · 234 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 packages gnupg) |
| 12 | (gnu services) |
| 13 | (guix packages) |
| 14 | (guix gexp) |
| 15 | (gnu home services shells) |
| 16 | (gnu home services desktop) |
| 17 | (gnu home services gnupg) |
| 18 | (gnu home services fontutils) |
| 19 | (gnu home services) |
| 20 | (ryan-services pipewire) |
| 21 | (ryan-services spotify) |
| 22 | (ryan-services file-manager) |
| 23 | (ryan-config utils) |
| 24 | (ryan-packages freedesktop) |
| 25 | (ryan-packages calcurse) |
| 26 | ;(ryan-packages binaries) |
| 27 | (rosenthal packages binaries) |
| 28 | (ryan-packages mozilla)) |
| 29 | |
| 30 | ; (define my-neovim |
| 31 | ; (package |
| 32 | ; (inherit neovim) |
| 33 | ; (native-inputs |
| 34 | ; (modify-inputs (package-native-inputs neovim) |
| 35 | ; (prepend gcc-13))))) |
| 36 | |
| 37 | (define %home-symlinks |
| 38 | ; `((".config/guix/home-config/fish" ".config/fish") |
| 39 | ; (".config/guix/home-config/nix-config" ".config/nix") |
| 40 | `((".config/guix/home-config/nix-files" ".config/home-manager"))) |
| 41 | |
| 42 | (home-symlinks %home-symlinks) |
| 43 | |
| 44 | (home-environment |
| 45 | ;; Below is the list of packages that will show up in your |
| 46 | ;; Home profile, under ~/.guix-home/profile. |
| 47 | ;(packages (append (specifications->packages (list ;"bat" |
| 48 | ;"fd" |
| 49 | ;"fish" |
| 50 | ;"xdg-utils" |
| 51 | ;"abook" |
| 52 | ;"libnotify" |
| 53 | ;"fzf" |
| 54 | ;"waypipe" |
| 55 | ;"foot" |
| 56 | ;"pulseaudio" ;only for pactl |
| 57 | ;"qpwgraph" |
| 58 | ;"gnunet" |
| 59 | ;"ffmpeg" ; removed for mpv prop input |
| 60 | ;"qrencode" |
| 61 | ;"tmux" |
| 62 | ;"binutils" |
| 63 | ;"gcc-toolchain" |
| 64 | ;"borg" |
| 65 | ;"restic" |
| 66 | ;"rsync" |
| 67 | ;"cloc" |
| 68 | ;"sc-im" |
| 69 | ;"pv" |
| 70 | ;"jq" |
| 71 | ;"gpgme" |
| 72 | ;"bombadillo" |
| 73 | ;"python-msgpack" |
| 74 | ;"wdisplays" |
| 75 | ;"kanshi" |
| 76 | ;"libreoffice" |
| 77 | ;"flatpak" |
| 78 | ;"gnupg" |
| 79 | ;"spotifyd" |
| 80 | ;"lsof" |
| 81 | ;"pavucontrol" |
| 82 | ;"netcat" |
| 83 | ;"bind:utils" |
| 84 | ;"font-cns11643-swjz" |
| 85 | ;"font-google-noto-emoji" |
| 86 | ;"syncthing" |
| 87 | ;"taskwarrior" |
| 88 | ;"tasksh" |
| 89 | ;"imv" ; Nix pkg now for MESA stuff |
| 90 | ;"perl" |
| 91 | ;"tor" |
| 92 | ;"unzip" |
| 93 | ;"htop" |
| 94 | ;"curl" |
| 95 | ;"pandoc" |
| 96 | ;"texlive-bin" |
| 97 | ;"texlive-scheme-basic" |
| 98 | ;"texlive-txfonts" |
| 99 | ;"texlive-amsfonts" |
| 100 | ;"texlive-lm" |
| 101 | ;"texlive-lm-math" |
| 102 | ;"texlive-iftex" |
| 103 | ;"texlive-unicode-math" |
| 104 | ;"texlive-fontspec" |
| 105 | ;"texlive-xcolor" |
| 106 | ;"texlive-geometry" |
| 107 | ;"texlive-hyperref" |
| 108 | ;"texlive-parskip" |
| 109 | ;"texlive-etoolbox" |
| 110 | ;"texlive-setspace" |
| 111 | ;"texlive-booktabs" |
| 112 | ;"texlive-mdwtools" |
| 113 | ;"texlive-caption" |
| 114 | ;"texlive-diagbox" |
| 115 | ;"texlive-pict2e" |
| 116 | ;"texlive-ulem" |
| 117 | ;"texlive-pgf" |
| 118 | ;"zathura" |
| 119 | ;"zathura-pdf-mupdf" |
| 120 | ;"go" |
| 121 | ;"fzf" |
| 122 | ;"weechat" |
| 123 | ;"gimp" |
| 124 | ;"python" |
| 125 | ;"python:tk" |
| 126 | ;"file" |
| 127 | ;"python-lsp-server" |
| 128 | ;"kdenlive" |
| 129 | ;"sqlite" |
| 130 | ;"mpv" ; Now a nix pkg for MESA stuff |
| 131 | ;"qbittorrent" |
| 132 | ;"playerctl" |
| 133 | ;"aerc" |
| 134 | ;"tcpdump" |
| 135 | ;"pamixer" |
| 136 | ;"git" |
| 137 | ;"git:send-email" |
| 138 | ;"password-store" |
| 139 | ;"node" |
| 140 | ;"kanshi" |
| 141 | ;"firefox" |
| 142 | ;"signal-desktop" |
| 143 | ;"sc-im" |
| 144 | ;"tree-sitter-cli" |
| 145 | ;"git-lfs")) |
| 146 | ;(list calcurse-fixed ))) |
| 147 | |
| 148 | ;; Below is the list of Home services. To search for available |
| 149 | ;; services, run 'guix home search KEYWORD' in a terminal. |
| 150 | (services |
| 151 | (list (service home-bash-service-type |
| 152 | (home-bash-configuration |
| 153 | (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l") |
| 154 | ("ls" . "ls -p --color=auto") |
| 155 | ;("spt" . "spotify_player") |
| 156 | ;("python" . "python3"))) |
| 157 | )) |
| 158 | (bashrc (list (local-file |
| 159 | "bashrc"))) |
| 160 | (bash-profile (list (local-file |
| 161 | "bash_profile"))))) |
| 162 | ;(service home-xdg-configuration-files-service-type |
| 163 | ; Migrated to nix |
| 164 | ;`(("nvim/init.vim" ,(local-file "nvim/config/init.vim")) |
| 165 | ;("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim")) |
| 166 | ;("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim")) |
| 167 | ;("sway" ,(local-file "sway" #:recursive? #t)) |
| 168 | ;("hypr" ,(local-file "hypr" #:recursive? #t)) |
| 169 | ;("hypr/monitors.conf", (local-file "hypr/monitors.conf")) |
| 170 | ;("hypr/pyprland.toml", (local-file "hypr/pyprland.toml")) |
| 171 | ;("hypr/family_guy.mp4", (local-file "hypr/family_guy.mp4")) |
| 172 | ;("hypr/hyprlock.conf", (local-file "hypr/hyprlock.conf")) |
| 173 | ;("hypr/hypridle.conf", (local-file "hypr/hypridle.conf")) |
| 174 | ;("hypr/kanshi.conf", (local-file "hypr/kanshi.conf")) |
| 175 | ;("hypr/subwaysurfer.webm", (local-file "hypr/subwaysurfer.webm")) |
| 176 | ;("hypr/Wallpapers", (local-file "hypr/Wallpapers" #:recursive? #t)) |
| 177 | ;("hypr/scripts", (local-file "hypr/scripts" #:recursive? #t)) |
| 178 | ;("wpaperd" ,(local-file "wpaperd" #:recursive? #t)) |
| 179 | ;("mpv" ,(local-file "mpv" #:recursive? #t)) |
| 180 | ;("foot" ,(local-file "foot" #:recursive? #t)) |
| 181 | ;("pulse/client.conf" ,(local-file "pulseaudio/client.conf")) |
| 182 | ;("waybar" ,(local-file "waybar" #:recursive? #t)) |
| 183 | ;("alacritty" ,(local-file "alacritty" #:recursive? #t)) |
| 184 | ;("aerc" ,(local-file "aerc" #:recursive? #t)) )) |
| 185 | ;(service home-files-service-type |
| 186 | ;l`(;(".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) |
| 187 | ;(".ssh/config" ,(local-file "ssh/config")) |
| 188 | ;(".icons" ,(local-file "icons" #:recursive? #t)) |
| 189 | ;(".mozilla/native-messaging-hosts/gpgmejson.json" ,(local-file "mailvelope/gpgmejson.json")) |
| 190 | ;(".local/share/mailvelope" ,(local-file "mailvelope" #:recursive? #t)) |
| 191 | ;(".mozilla/native-messaging-hosts/tridactyl.json" ,(local-file "tridactyl/tridactyl.json")) |
| 192 | ;(".local/share/tridactyl" ,(local-file "tridactyl" #:recursive? #t)) |
| 193 | ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol")) |
| 194 | ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf")) |
| 195 | ;(".gnupg/gpg.conf" ,(local-file "gnupg/gpg.conf")) |
| 196 | ;(".local/share/fonts" ,(local-file "fonts" #:recursive? #t)) |
| 197 | ;(".gitconfig" ,(local-file "gitconfig")) |
| 198 | ;(".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t)) |
| 199 | ;(".nix-channels" ,(local-file "nix-channels")))) |
| 200 | (service home-pipewire-service-type) |
| 201 | ;(service home-spotifyd-service-type) |
| 202 | ; font things for nix to play nice |
| 203 | ; (simple-service 'additional-fonts-service |
| 204 | ; home-fontconfig-service-type |
| 205 | ; (list "~/.nix-profile/share/fonts" |
| 206 | ; '(match (@ (target "pattern")) |
| 207 | ; (edit (@ (name "family") (mode "prepend")) |
| 208 | ; (string "DejaVu Sans"))) |
| 209 | ; '(alias |
| 210 | ; (family "serif") |
| 211 | ; (prefer |
| 212 | ; (family "DejaVu Serif"))) |
| 213 | ; '(alias |
| 214 | ; (family "sans") |
| 215 | ; (prefer |
| 216 | ; (family "DejaVu Sans"))) |
| 217 | ; '(alias |
| 218 | ; (family "monospace") |
| 219 | ; (prefer |
| 220 | ; (family "DejaVu Sans Mono"))))) |
| 221 | (service home-dbus-service-type) |
| 222 | (service downloads-garbage-collector-service-type |
| 223 | (downloads-garbage-collector-configuration |
| 224 | (user "ryan"))) |
| 225 | ;;; trying some changes |
| 226 | ;(template-files "." |
| 227 | ;'("spotify-player/app.toml" |
| 228 | ;;; |
| 229 | ;(service home-gpg-agent-service-type |
| 230 | ; (home-gpg-agent-configuration |
| 231 | ; (pinentry-program |
| 232 | ; (file-append pinentry "/bin/pinentry")) |
| 233 | ; (ssh-support? #t))) ))) |
| 234 | ))) |