source: dotfiles/guix/.dotfiles/home-configuration.scm@ 254aa1d

Last change on this file since 254aa1d was 254aa1d, checked in by Mikhail Kirillov <w96k@…>, on Aug 5, 2024 at 6:53:43 AM

Massively update guix home

  • Property mode set to 100644
File size: 5.9 KB
Line 
1(use-modules (gnu home)
2 (gnu packages)
3 (gnu packages gnupg)
4 (gnu packages shells)
5 (gnu services)
6 (guix gexp)
7 (guix channels)
8 (gnu home services)
9 (gnu home services guix)
10 (gnu home services ssh)
11 (gnu home services desktop)
12 (gnu home services dotfiles)
13 (gnu home services shells)
14 (gnu home services gnupg))
15
16(define dotfiles-dir "/home/w96k/projects/dotfiles/")
17
18(define wkz-home (home-environment
19 (packages (specifications->packages (list
20 "guix"
21 "ratpoison"
22 "xdot"
23 "graphviz"
24 "sed"
25 "darktable"
26 "openssh"
27 "docker-compose"
28 "emacs-company"
29 "emacs-f"
30 "emacs-s"
31 "emacs-xterm-color"
32 "emacs-lsp-mode"
33
34 "guile"
35 "guile-readline"
36 "guile-colorized"
37 "emacs-geiser"
38 "emacs-geiser-guile"
39
40 "emacs-telega"
41 "emacs-guix"
42 "emacs-simple-httpd"
43 "emacs-osm"
44 "wget"
45 "bitcoin-core"
46 "xrandr"
47 "unzip"
48 "zip"
49 "mpv"
50 "emacs-rmsbolt"
51 "git"
52 ;; "wkz-emacs"
53 "emacs-no-x-toolkit"
54 "emacs-gptel"
55 "lm-sensors"
56 "htop"
57 "make"
58 "emacs-simple-httpd"
59 "emacs-guix"
60 "emacs-telega"
61 "gimp"
62 "imagemagick"
63 "stow"
64 "icecat"
65 "smartmontools"
66 "lshw"
67 "hwinfo"
68 "ntfs-3g"
69 "qbittorrent"
70 "x11-ssh-askpass"
71 "syncthing"
72 "pavucontrol"
73 "arp-scan"
74 "proot"
75 "openconnect"
76 "alsa-utils"
77 "grep"
78 "xlockmore"
79 "bitcoin-core"
80 "x11-ssh-askpass"
81 "pinentry-emacs"
82 "texlive"
83 "fetchmail"
84 "gnupg"
85 "xhost"
86
87 ;; "wkz-php"
88 ;; "wkz-python"
89 ;; "wkz-ruby"
90 )))
91
92 ;; Below is the list of Home services. To search for available
93 ;; services, run 'guix home search KEYWORD' in a terminal.
94 (services
95 (list
96 ;; (service home-run-on-first-login-service-type)
97 ;; (service home-activation-service-type)
98
99 (service home-bash-service-type
100 (home-bash-configuration
101 (guix-defaults? #t)
102 (aliases '(("grep" . "grep --color=auto")
103 ("ip" . "ip -color=auto")
104 ("ll" . "ls -l")
105 ("ls" . "ls -p --color=auto")))
106 (bashrc (list (local-file
107 ".bashrc"
108 "bashrc")))
109 ;; (bash-profile (list (local-file
110 ;; ".bash_profile"
111 ;; "bash_profile")))
112 ))
113
114 (service home-redshift-service-type
115 (home-redshift-configuration
116 (location-provider 'manual)
117 (latitude 41.71)
118 (longitude 44.82)
119 ))
120
121 ;; (service home-x11-display-service-type)
122 (service home-gpg-agent-service-type
123 (home-gpg-agent-configuration
124 (pinentry-program
125 (file-append pinentry-emacs "/bin/pinentry-emacs"))
126 (ssh-support? #t)))
127
128 (service home-unclutter-service-type
129 (home-unclutter-configuration
130 (idle-timeout 1)))
131
132 (service home-openssh-service-type
133 (home-openssh-configuration
134 (authorized-keys (list (local-file "id_rsa.pub")))))
135
136 (service home-startx-command-service-type
137 (xorg-configuration (keyboard-layout (keyboard-layout "us,ru"
138 #:options '("grp:shifts_toggle" "ctrl:nocaps")))))
139
140 ;; (service home-files-service-type `((".xinitrc" ,(local-file ".xinitrc" "xinitrc"))))
141
142 (service home-dotfiles-service-type
143 (home-dotfiles-configuration
144 ;; (layout 'stow)
145 (directories '(
146 "/home/w96k/projects/dotfiles/X"
147 "/home/w96k/projects/dotfiles/wm"
148 "/home/w96k/projects/dotfiles/emacs"
149 "/home/w96k/projects/dotfiles/cvs"
150 "/home/w96k/projects/dotfiles/guix"
151 ))))
152
153 ;; (service home-ssh-agent-service-type
154 ;; (home-ssh-agent-configuration
155 ;; (extra-options '("-t" "1h30m"))))
156
157 (simple-service 'nonguix-service
158 home-channels-service-type
159 (list
160 (channel
161 (name 'nonguix)
162 (url "https://gitlab.com/nonguix/nonguix")
163 (introduction
164 (make-channel-introduction
165 "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
166 (openpgp-fingerprint
167 "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))))
168 ))))
169
170wkz-home
Note: See TracBrowser for help on using the repository browser.