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