1 | (use-modules (gnu home)
|
---|
2 | (gnu packages)
|
---|
3 | (gnu packages base)
|
---|
4 | (gnu packages gnupg)
|
---|
5 | (gnu packages shells)
|
---|
6 | (gnu services)
|
---|
7 | (gnu services xorg)
|
---|
8 | (gnu system keyboard)
|
---|
9 | (guix gexp)
|
---|
10 | (guix channels)
|
---|
11 | (gnu home services)
|
---|
12 | (gnu home services guix)
|
---|
13 | (gnu home services ssh)
|
---|
14 | (gnu home services desktop)
|
---|
15 | (gnu home services dotfiles)
|
---|
16 | (gnu home services shells)
|
---|
17 | (gnu home services gnupg))
|
---|
18 |
|
---|
19 | (define dotfiles-dir "/home/w96k/projects/dotfiles/")
|
---|
20 |
|
---|
21 | (define wkz-home (home-environment
|
---|
22 | (packages (specifications->packages
|
---|
23 | (list
|
---|
24 | "glibc-locales"
|
---|
25 | "rlwrap"
|
---|
26 | "readline"
|
---|
27 | "mg"
|
---|
28 | "ratpoison"
|
---|
29 | "file"
|
---|
30 | "universal-ctags"
|
---|
31 | "perl"
|
---|
32 | "python"
|
---|
33 | "python-wrapper"
|
---|
34 | "php"
|
---|
35 | "xdebug-php-8.1"
|
---|
36 | "composer"
|
---|
37 | "openjdk"
|
---|
38 | "maven"
|
---|
39 | "sqls"
|
---|
40 | "go"
|
---|
41 | "ruby"
|
---|
42 | "gopls"
|
---|
43 | "delve"
|
---|
44 | "python-lsp-server"
|
---|
45 | "python-jedi" ;; Looks a bit deprecated
|
---|
46 | "python-debugpy"
|
---|
47 | "ruby-solargraph"
|
---|
48 | "zig-zls"
|
---|
49 | "rust-analyzer"
|
---|
50 | "racket"
|
---|
51 | "gcc-toolchain"
|
---|
52 | "clang-toolchain"
|
---|
53 | "gdb"
|
---|
54 | "valgrind"
|
---|
55 | "frama-c"
|
---|
56 | "kcachegrind"
|
---|
57 | "dwarves"
|
---|
58 | "xterm"
|
---|
59 | "screen"
|
---|
60 | "xdot"
|
---|
61 | "graphviz"
|
---|
62 | "sed"
|
---|
63 | ;;"darktable"
|
---|
64 | "global"
|
---|
65 | "emacs-eldoc"
|
---|
66 | "emacs-eldoc-box"
|
---|
67 | "emacs-edbi"
|
---|
68 | "emacs-edbi-sqlite"
|
---|
69 | "emacs-dape"
|
---|
70 | "emacs-dumb-jump"
|
---|
71 | "emacs-goto-chg"
|
---|
72 | "emacs-repology"
|
---|
73 | "emacs-syslog-mode"
|
---|
74 | "emacs-ggtags"
|
---|
75 | "emacs-semantic-refactor"
|
---|
76 | "openssh"
|
---|
77 | "docker-compose"
|
---|
78 | "emacs-docker"
|
---|
79 | "emacs-dockerfile-mode"
|
---|
80 | "emacs-docker-compose-mode"
|
---|
81 | "emacs-company"
|
---|
82 | "emacs-f"
|
---|
83 | "emacs-s"
|
---|
84 | "emacs-xterm-color"
|
---|
85 | ;; "emacs-lsp-mode"
|
---|
86 | "emacs-ebuild-mode"
|
---|
87 |
|
---|
88 | "emacs-helm"
|
---|
89 | "emacs-helm-gtags"
|
---|
90 |
|
---|
91 | "emacs-magit"
|
---|
92 | "emacs-git-timemachine"
|
---|
93 | "emacs-browse-kill-ring"
|
---|
94 | "emacs-anzu"
|
---|
95 | "emacs-sudo-edit"
|
---|
96 | "emacs-highlight"
|
---|
97 | "emacs-mastodon"
|
---|
98 | "emacs-org-roam"
|
---|
99 | "emacs-undo-tree"
|
---|
100 | "emacs-expand-region"
|
---|
101 | "emacs-avy"
|
---|
102 | "emacs-imenu-list"
|
---|
103 |
|
---|
104 | "emacs-nyxt"
|
---|
105 |
|
---|
106 | "guile"
|
---|
107 | "guile-readline"
|
---|
108 | "guile-colorized"
|
---|
109 | "emacs-geiser"
|
---|
110 | "emacs-geiser-guile"
|
---|
111 |
|
---|
112 | "emacs-telega"
|
---|
113 | "emacs-telega-contrib"
|
---|
114 | "emacs-guix"
|
---|
115 | "emacs-simple-httpd"
|
---|
116 | "emacs-osm"
|
---|
117 | "translate-shell"
|
---|
118 | "wget"
|
---|
119 | "curl"
|
---|
120 | "bitcoin-core"
|
---|
121 | "xrandr"
|
---|
122 | "unzip"
|
---|
123 | "zip"
|
---|
124 | "mpv"
|
---|
125 | "emacs-rmsbolt"
|
---|
126 | "git"
|
---|
127 | ;; "wkz-emacs"
|
---|
128 | "emacs-no-x-toolkit"
|
---|
129 | "emacs-gptel"
|
---|
130 | "emacs-nix-mode"
|
---|
131 | "lm-sensors"
|
---|
132 | "htop"
|
---|
133 | "make"
|
---|
134 | "emacs-simple-httpd"
|
---|
135 | "emacs-guix"
|
---|
136 | "emacs-hyperbole"
|
---|
137 | "emacs-php-mode"
|
---|
138 | "gimp"
|
---|
139 | "imagemagick"
|
---|
140 | "stow"
|
---|
141 | "smartmontools"
|
---|
142 | "lshw"
|
---|
143 | "hwinfo"
|
---|
144 | "qbittorrent"
|
---|
145 | "x11-ssh-askpass"
|
---|
146 | "syncthing"
|
---|
147 | "pavucontrol"
|
---|
148 | "arp-scan"
|
---|
149 | "openconnect"
|
---|
150 | "alsa-utils"
|
---|
151 | "grep"
|
---|
152 | "xlockmore"
|
---|
153 | "x11-ssh-askpass"
|
---|
154 | "pinentry"
|
---|
155 | "pinentry-emacs"
|
---|
156 | ;;"texlive"
|
---|
157 | "fetchmail"
|
---|
158 | "gnupg"
|
---|
159 | "xhost"
|
---|
160 |
|
---|
161 | "universal-ctags"
|
---|
162 |
|
---|
163 | "c-intro-and-ref"
|
---|
164 | "sicp"
|
---|
165 |
|
---|
166 | "font-xfree86-type1"
|
---|
167 | "xlsfonts"
|
---|
168 | "font-alias"
|
---|
169 | "font-gnu-unifont"
|
---|
170 |
|
---|
171 | "proxychains-ng"
|
---|
172 | "ungoogled-chromium"
|
---|
173 | "torbrowser"
|
---|
174 | "icecat"
|
---|
175 | "librewolf"
|
---|
176 | "nyxt"
|
---|
177 | "netsurf"
|
---|
178 | "ublock-origin-icecat"
|
---|
179 | "ublock-origin-chromium"
|
---|
180 | "noscript-icecat"
|
---|
181 | "browserpass-native"
|
---|
182 |
|
---|
183 | "keepassxc-browser-icecat"
|
---|
184 | "keepassxc"
|
---|
185 |
|
---|
186 | "restic"
|
---|
187 | "btrbk"
|
---|
188 |
|
---|
189 | "emacs-helm-pass"
|
---|
190 | "emacs-pass"
|
---|
191 | "password-store"
|
---|
192 |
|
---|
193 | "musescore"
|
---|
194 | "schismtracker"
|
---|
195 | "workrave"
|
---|
196 | "flatpak"
|
---|
197 | "utox"
|
---|
198 | "net-tools"
|
---|
199 | "lsof"
|
---|
200 | "podman"
|
---|
201 | "podman-compose"
|
---|
202 | "macchanger"
|
---|
203 |
|
---|
204 | "udiskie"
|
---|
205 | "emacs-discomfort"
|
---|
206 |
|
---|
207 | "yt-dlp"
|
---|
208 | "emacs-ytdl"
|
---|
209 |
|
---|
210 | ;; "wkz-php"
|
---|
211 | ;; "wkz-python"
|
---|
212 | ;; "wkz-ruby"
|
---|
213 | )))
|
---|
214 |
|
---|
215 | ;; Below is the list of Home services. To search for available
|
---|
216 | ;; services, run 'guix home search KEYWORD' in a terminal.
|
---|
217 | (services
|
---|
218 | (list
|
---|
219 | (service home-bash-service-type
|
---|
220 | (home-bash-configuration
|
---|
221 | (guix-defaults? #t)
|
---|
222 | (aliases '(("grep" . "grep --color=auto")
|
---|
223 | ("ip" . "ip -color=auto")
|
---|
224 | ("ll" . "ls -l")
|
---|
225 | ("ls" . "ls -p --color=auto")))
|
---|
226 | (bashrc (list (local-file
|
---|
227 | ".bashrc"
|
---|
228 | "bashrc")))
|
---|
229 | (bash-profile (list (local-file
|
---|
230 | ".bash_profile"
|
---|
231 | "bash_profile")))
|
---|
232 | ))
|
---|
233 |
|
---|
234 | ;; (service home-x11-display-service-type)
|
---|
235 | (service home-gpg-agent-service-type)
|
---|
236 |
|
---|
237 | ;; (service home-unclutter-service-type
|
---|
238 | ;; (home-unclutter-configuration
|
---|
239 | ;; (idle-timeout 1)))
|
---|
240 |
|
---|
241 | ;; (service home-openssh-service-type
|
---|
242 | ;; (home-openssh-configuration
|
---|
243 | ;; (authorized-keys (list (local-file "id_rsa.pub")))))
|
---|
244 |
|
---|
245 | (service home-startx-command-service-type
|
---|
246 | (xorg-configuration (keyboard-layout (keyboard-layout "us,ru"
|
---|
247 | #:options '("grp:shifts_toggle" "ctrl:nocaps")))))
|
---|
248 |
|
---|
249 | (service home-dotfiles-service-type
|
---|
250 | (home-dotfiles-configuration
|
---|
251 | ;; (layout 'stow)
|
---|
252 | (directories '(
|
---|
253 | "/home/w96k/projects/dotfiles/X"
|
---|
254 | "/home/w96k/projects/dotfiles/wm"
|
---|
255 | "/home/w96k/projects/dotfiles/emacs"
|
---|
256 | "/home/w96k/projects/dotfiles/cvs"
|
---|
257 | "/home/w96k/projects/dotfiles/guix"
|
---|
258 | "/home/w96k/projects/dotfiles/ssh"
|
---|
259 | ))))
|
---|
260 |
|
---|
261 | ;; (service home-ssh-agent-service-type
|
---|
262 | ;; (home-ssh-agent-configuration
|
---|
263 | ;; (extra-options '("-t" "1h30m"))))
|
---|
264 |
|
---|
265 | (service home-files-service-type
|
---|
266 | `((".guile" ,%default-dotguile)))
|
---|
267 |
|
---|
268 | (service home-xdg-configuration-files-service-type
|
---|
269 | `(("gdb/gdbinit" ,%default-gdbinit)
|
---|
270 | ("nano/nanorc" ,%default-nanorc)))
|
---|
271 |
|
---|
272 | (simple-service 'nonguix-service
|
---|
273 | home-channels-service-type
|
---|
274 | (list
|
---|
275 | (channel
|
---|
276 | (name 'nonguix)
|
---|
277 | (url "https://gitlab.com/nonguix/nonguix")
|
---|
278 | (introduction
|
---|
279 | (make-channel-introduction
|
---|
280 | "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
|
---|
281 | (openpgp-fingerprint
|
---|
282 | "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))))
|
---|
283 |
|
---|
284 | (simple-service 'phps-service
|
---|
285 | home-channels-service-type
|
---|
286 | (list
|
---|
287 | (channel
|
---|
288 | (name 'guix-phps)
|
---|
289 | (url "https://github.com/Nazar65/guix-phps-channel")
|
---|
290 | (introduction
|
---|
291 | (make-channel-introduction
|
---|
292 | "4e547cbb9391b5fe1b2a9fbc5efa4d5bec2d646f"
|
---|
293 | (openpgp-fingerprint
|
---|
294 | "4441 0743 6E32 EE9F F20A 753F B510 AA5B 74EA F294"))))))
|
---|
295 | ))))
|
---|
296 |
|
---|
297 | wkz-home
|
---|