1 (use-modules (gnu) (gnu packages linux))
2 (use-service-modules admin desktop mail networking pm ssh xorg)
7 (timezone "America/Toronto")
9 (keyboard-layout "us" "basic"))
11 (bootloader-configuration
12 (bootloader grub-bootloader)
14 (keyboard-layout keyboard-layout)))
18 (uuid "3d9d579d-3626-4fb2-9c16-beae804f1cf9"))
20 (type luks-device-mapping))))
24 (device "/dev/mapper/groot")
26 (dependencies mapped-devices))
28 (users (cons* (user-account
31 (home-directory "/home/bandali")
33 '("wheel" "netdev" "audio" "video")))
37 (list (specification->package "nss-certs"))
41 (list (service xfce-desktop-service-type)
42 (service openssh-service-type)
43 (set-xorg-configuration
45 (keyboard-layout keyboard-layout)))
46 (dovecot-service #:config
47 (dovecot-configuration
48 ;; (log-path "/dev/stderr")
49 (protocols (list (protocol-configuration
52 (listen '("127.0.0.1"))
53 (disable-plaintext-auth? #f)
54 (auth-mechanisms '("plain"))
55 (postmaster-address "bandali@gnu.local")
56 (mail-location "maildir:/home/bandali/mail/%d/%n/mail")
57 (userdbs (list (userdb-configuration
59 (args (list "uid=bandali" "gid=users" "home=/home/bandali/mail/%d/%n")))))
60 (passdbs (list (passdb-configuration
61 (driver "passwd-file")
62 (args (list "/home/bandali/.config/dovecot/passwd")))))))
63 (service rottlog-service-type
64 (rottlog-configuration))
65 (service thermald-service-type)
66 (service tlp-service-type
69 (sound-power-save-on-bat 0)
70 (sound-power-save-controller? #f)
71 ;; (usb-blacklist "0e8f:00a8") ;for some reason doesn't seem to work
72 (usb-autosuspend? #f)))
73 (simple-service 'my-powertop-auto-tune activation-service-type
74 #~(zero? (system* #$(file-append powertop "/sbin/powertop")