Migration This is my new public git source viewer. Source coming soon. Please contact with concerns/bugs. Contact me

home-config/home-configuration.scm

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