;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu)
	     (gnu services dbus)
	     (gnu services pm))
(use-service-modules desktop networking ssh xorg)
(use-package-modules shells wm)

(operating-system
  (locale "en_US.utf8")
  (timezone "America/Chicago")
  (keyboard-layout (keyboard-layout "us" "dvorak"))
  (host-name "anpan")
  (users (cons* (user-account
                  (name "brad")
                  (comment "Bradley")
                  (group "users")
		  (shell (file-append zsh "/bin/zsh"))
                  (home-directory "/home/brad")
                  (supplementary-groups
                    '("wheel" "netdev" "audio" "video")))
                %base-user-accounts))
  (packages
    (append
      (map specification->package '("adwaita-icon-theme"
				    "hicolor-icon-theme"
				    "gnome-themes-standard"
				    "gnome-themes-extra"
				    "gvfs"
				    "nss-certs"
				    "neovim"
				    "sway"
				    "tmux"))
      %base-packages))
  (services
    (append
      (list (service openssh-service-type)
            (service tor-service-type)
            (service network-manager-service-type)
            (service wpa-supplicant-service-type)
	    (service ntp-service-type)
	    (service tlp-service-type (tlp-configuration (cpu-scaling-governor-on-ac (list "powersave"))))
	    (service thermald-service-type)
	    (service upower-service-type)
	    (dbus-service)
	    (udisks-service)
	    (elogind-service #:config (elogind-configuration (handle-lid-switch 'ignore)))
	    (simple-service 'fuse-etc etc-service-type
			    (list `("fuse.conf" ,(plain-file "fuse.conf" "user_allow_other\n")))))
	          %base-services))
  (bootloader
    (bootloader-configuration
      (bootloader grub-efi-bootloader)
      (target "/boot/efi")
      (keyboard-layout keyboard-layout)))
  (swap-devices (list "/dev/sda2"))
  (file-systems
    (cons* (file-system
             (mount-point "/boot/efi")
             (device (uuid "C1A1-E60B" 'fat32))
             (type "vfat"))
           (file-system
             (mount-point "/")
             (device
               (uuid "2efcd929-00ad-462f-a510-123523ca05de"
                     'btrfs))
             (type "btrfs"))
	   (file-system
	     (mount-point "/data0")
	     (device
	       (uuid "b25eb52c-0972-4f30-9cdb-d1af3cb4fba7"
		     'btrfs))
	     (type "btrfs"))
           %base-file-systems))
  (setuid-programs (cons* #~(string-append #$swaylock "/bin/swaylock")
			%setuid-programs)))
picture of cute waifu