emacs: add back my znc fork
[~bandali/configs] / .config / guix / system / chaman.scm
... / ...
CommitLineData
1(use-modules (gnu))
2(use-service-modules desktop mail networking ssh xorg)
3
4(operating-system
5 (host-name "chaman")
6 (locale "en_CA.utf8")
7 (timezone "Canada/Eastern")
8 (keyboard-layout
9 (keyboard-layout "us" "basic"))
10 (bootloader
11 (bootloader-configuration
12 (bootloader grub-bootloader)
13 (target "/dev/sda")
14 (keyboard-layout keyboard-layout)))
15 (mapped-devices
16 (list (mapped-device
17 (source
18 (uuid "283da85e-2c84-47e6-a8ca-20f4e8efb806"))
19 (target "groot")
20 (type luks-device-mapping))
21 (mapped-device
22 (source
23 (uuid "017ddebc-c2c3-4a0a-bda4-d47ec0bc67f0"))
24 (target "data")
25 (type luks-device-mapping))))
26 (file-systems
27 (cons* (file-system
28 (mount-point "/")
29 (device "/dev/mapper/groot")
30 (type "ext4")
31 (dependencies mapped-devices))
32 (file-system
33 (mount-point "/data")
34 (device "/dev/mapper/data")
35 (type "ext4")
36 (dependencies mapped-devices))
37 %base-file-systems))
38 (users
39 (cons* (user-account
40 (name "mab")
41 (group "users")
42 (home-directory "/home/mab")
43 (supplementary-groups
44 '("wheel" "netdev" "audio" "video")))
45 %base-user-accounts))
46 (packages
47 (append
48 (list (specification->package "nss-certs"))
49 %base-packages))
50 (services
51 (cons*
52 (service xfce-desktop-service-type)
53 (set-xorg-configuration
54 (xorg-configuration
55 (keyboard-layout keyboard-layout)))
56 (dovecot-service
57 #:config
58 (dovecot-configuration
59 ;; (log-path "/dev/stderr")
60 (protocols (list (protocol-configuration
61 (name "imap"))))
62 (ssl? "no")
63 (listen '("127.0.0.1"))
64 (disable-plaintext-auth? #f)
65 (auth-mechanisms '("plain"))
66 (postmaster-address "mab@gnu.local")
67 (mail-location "maildir:/home/mab/mail/%d/%n/mail")
68 (userdbs (list (userdb-configuration
69 (driver "static")
70 (args (list "uid=mab" "gid=users" "home=/home/mab/mail/%d/%n")))))
71 (passdbs (list (passdb-configuration
72 (driver "passwd-file")
73 (args (list "/data/dovecot-passwd")))))))
74 %desktop-services)))