home-config/home-configuration.scm

f34e77efa50eadbb93ec43093ff5ea7063ff1aa0 · 12.9 KB · 228 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-home-manager" ".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"
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 "zathura"
118 "zathura-pdf-mupdf"
119 "go"
120 "fzf"
121 "weechat"
122 "gimp"
123 "python"
124 "python:tk"
125 "file"
126 "python-lsp-server"
127 "kdenlive"
128 "sqlite"
129 ;"mpv" ; Now a nix pkg for MESA stuff
130 "qbittorrent"
131 "playerctl"
132 ;"aerc"
133 "tcpdump"
134 "pamixer"
135 "git"
136 "git:send-email"
137 "password-store"
138 "node"
139 "kanshi"
140 ;"firefox"
141 "signal-desktop"
142 "sc-im"
143 "git-lfs"))
144 (list my-neovim calcurse-fixed )))
145
146 ;; Below is the list of Home services. To search for available
147 ;; services, run 'guix home search KEYWORD' in a terminal.
148 (services
149 (list (service home-bash-service-type
150 (home-bash-configuration
151 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
152 ("ls" . "ls -p --color=auto")
153 ("spt" . "spotify_player")
154 ("python" . "python3")))
155 (bashrc (list (local-file
156 "bashrc")))
157 (bash-profile (list (local-file
158 "bash_profile")))))
159 (service home-xdg-configuration-files-service-type
160 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
161 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
162 ("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim"))
163 ("sway" ,(local-file "sway" #:recursive? #t))
164 ;("hypr" ,(local-file "hypr" #:recursive? #t))
165 ("hypr/monitors.conf", (local-file "hypr/monitors.conf"))
166 ("hypr/family_guy.mp4", (local-file "hypr/family_guy.mp4"))
167 ("hypr/hyprlock.conf", (local-file "hypr/hyprlock.conf"))
168 ("hypr/hypridle.conf", (local-file "hypr/hypridle.conf"))
169 ("hypr/kanshi.conf", (local-file "hypr/kanshi.conf"))
170 ("hypr/subwaysurfer.webm", (local-file "hypr/subwaysurfer.webm"))
171 ("hypr/Wallpapers", (local-file "hypr/Wallpapers" #:recursive? #t))
172 ("hypr/scripts", (local-file "hypr/scripts" #:recursive? #t))
173 ("wpaperd" ,(local-file "wpaperd" #:recursive? #t))
174 ("mpv" ,(local-file "mpv" #:recursive? #t))
175 ("foot" ,(local-file "foot" #:recursive? #t))
176 ("pulse/client.conf" ,(local-file "pulseaudio/client.conf"))
177 ("waybar" ,(local-file "waybar" #:recursive? #t))
178 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
179 ("aerc" ,(local-file "aerc" #:recursive? #t)) ))
180 (service home-files-service-type
181 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
182 (".ssh/config" ,(local-file "ssh/config"))
183 (".icons" ,(local-file "icons" #:recursive? #t))
184 (".mozilla/native-messaging-hosts/gpgmejson.json" ,(local-file "mailvelope/gpgmejson.json"))
185 (".local/share/mailvelope" ,(local-file "mailvelope" #:recursive? #t))
186 (".mozilla/native-messaging-hosts/tridactyl.json" ,(local-file "tridactyl/tridactyl.json"))
187 (".local/share/tridactyl" ,(local-file "tridactyl" #:recursive? #t))
188 ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
189 ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
190 (".gnupg/gpg.conf" ,(local-file "gnupg/gpg.conf"))
191 (".local/share/fonts" ,(local-file "fonts" #:recursive? #t))
192 (".gitconfig" ,(local-file "gitconfig"))
193 (".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t))
194 (".nix-channels" ,(local-file "nix-channels"))))
195 (service home-pipewire-service-type)
196 (service home-spotifyd-service-type)
197 ; font things for nix to play nice
198 (simple-service 'additional-fonts-service
199 home-fontconfig-service-type
200 (list "~/.nix-profile/share/fonts"
201 '(match (@ (target "pattern"))
202 (edit (@ (name "family") (mode "prepend"))
203 (string "DejaVu Sans")))
204 '(alias
205 (family "serif")
206 (prefer
207 (family "DejaVu Serif")))
208 '(alias
209 (family "sans")
210 (prefer
211 (family "DejaVu Sans")))
212 '(alias
213 (family "monospace")
214 (prefer
215 (family "DejaVu Sans Mono")))))
216 (service home-dbus-service-type)
217 (service downloads-garbage-collector-service-type
218 (downloads-garbage-collector-configuration
219 (user "ryan")))
220 ;;; trying some changes
221 ;(template-files "."
222 ;'("spotify-player/app.toml"
223 ;;;
224 (service home-gpg-agent-service-type
225 (home-gpg-agent-configuration
226 (pinentry-program
227 (file-append pinentry "/bin/pinentry"))
228 (ssh-support? #t))) )))