about summary refs log tree commit diff
path: root/guix/home.scm
blob: e4a8c915f9380d63fdd7e9dde2d841d20d48c082 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
(use-modules (gnu home)
             (gnu home services)
             (gnu home services desktop)
             (gnu home services mcron)
             (gnu home services shells)
             (gnu packages)
             (gnu services)
             (guix gexp))

(home-environment
  (packages
    (specifications->packages
      '("aerc" "icecat" "isync" "liferea" "mu" "nheko" "transmission:gui" "w3m"
        "arandr" "libreoffice" "rxvt-unicode"
        "audacious" "ffmpeg" "mediainfo" "mpv" "simplescreenrecorder" "yt-dlp"
        "awesome" "copyq" "dbus" "keynav" "scrot" "sx" "xdg-utils" "xrdb"
        "bastet" "hedgewars"
        "font-google-noto" "font-latin-modern" "qt5ct"
        "gcc" "python" "texlive"
        "gimp" "imv" "imagemagick" "zathura" "zathura-pdf-poppler"
        "git" "git:send-email" "git-lfs" "nss-certs" "sshfs" "stow" "unzip"
        "gnupg" "pinentry" "oath-toolkit"
        "ibus" "ibus-libhangul"
        "pavucontrol" "playerctl" "pulsemixer")))
  (services
    (list (service home-bash-service-type
                   (home-bash-configuration
                     (bashrc (list (local-file
                                     (string-join
                                       (list (dirname (current-filename))
                                             "bashrc")
                                       "/")
                                     "bashrc")))))
          (simple-service 'more-home-environment-variables-service
                          home-environment-variables-service-type
                          `(("SHELL" . #t)
                            ("PATH" . "$HOME/.local/bin:$PATH")
                            ("NIX_PATH" . "$HOME/Sauces")
                            ("EDITOR" . "vim")
                            ("GPG_TTY" . "$(tty)")
                            ("QT_QPA_PLATFORMTHEME" . "qt5ct")))
          (service home-dbus-service-type)
          (service home-mcron-service-type
                   (home-mcron-configuration
                     (jobs (list #~(job '(next-minute (range 0 60 1))
                                        (lambda ()
                                          (system* "mbsync" "--all"))))))))))