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