source: dotfiles/guix/.dotfiles/home-configuration.scm@ fde9de8

Last change on this file since fde9de8 was fde9de8, checked in by Mikhail Kirillov <w96k@…>, on Sep 3, 2024 at 10:43:11 PM

Update configs

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