2 (gnu packages certs) ; for nss-certs
3 (gnu packages emacs-xyz) ; for exwm
4 (gnu packages linux)) ; for powertop
5 (use-service-modules admin desktop mail networking pm ssh xorg)
10 (timezone "Canada/Eastern")
12 (keyboard-layout "us" "basic"))
14 (bootloader-configuration
15 (bootloader grub-bootloader)
17 (keyboard-layout keyboard-layout)))
21 (uuid "283da85e-2c84-47e6-a8ca-20f4e8efb806"))
23 (type luks-device-mapping))
26 (uuid "017ddebc-c2c3-4a0a-bda4-d47ec0bc67f0"))
28 (type luks-device-mapping))))
32 (device "/dev/mapper/groot")
34 (dependencies mapped-devices))
37 (device "/dev/mapper/data")
39 (dependencies mapped-devices))
45 (home-directory "/home/mab")
47 '("wheel" "netdev" "audio" "video")))
55 (service xfce-desktop-service-type)
56 (set-xorg-configuration
58 (keyboard-layout keyboard-layout)))
61 (dovecot-configuration
62 ;; (log-path "/dev/stderr")
63 (protocols (list (protocol-configuration
66 (listen '("127.0.0.1"))
67 (disable-plaintext-auth? #f)
68 (auth-mechanisms '("plain"))
69 (postmaster-address "mab@gnu.local")
70 (mail-location "maildir:/home/mab/mail/%d/%n/mail")
71 (userdbs (list (userdb-configuration
73 (args (list "uid=mab" "gid=users" "home=/home/mab/mail/%d/%n")))))
74 (passdbs (list (passdb-configuration
75 (driver "passwd-file")
76 (args (list "/data/dovecot-passwd")))))))
77 (service rottlog-service-type)
78 (service thermald-service-type)
79 (service tlp-service-type
82 (sound-power-save-on-bat 0)
83 (sound-power-save-controller? #f)
84 ;; (usb-blacklist "0e8f:00a8") ;for some reason doesn't seem to work
85 (usb-autosuspend? #f)))
86 (simple-service 'my-powertop-auto-tune activation-service-type
87 #~(zero? (system* #$(file-append powertop "/sbin/powertop")