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