From b53f96565b8c4e8f8aaf6333c40c8e90e0c34677 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 1 Nov 2022 12:33:12 +0900 Subject: Use Guix home --- guix/home.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 guix/home.scm (limited to 'guix/home.scm') diff --git a/guix/home.scm b/guix/home.scm new file mode 100644 index 0000000..fb750ab --- /dev/null +++ b/guix/home.scm @@ -0,0 +1,40 @@ +(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 + '("arandr" "libreoffice" "rxvt-unicode" + "audacious" "ffmpeg" "mediainfo" "mpv" "simplescreenrecorder" "yt-dlp" + "awesome" "copyq" "dbus" "keynav" "scrot" "sx" "xrdb" + "bastet" "hedgewars" + "icecat" "isync" "liferea" "mu" "nheko" "transmission:gui" "w3m" + "git" "git:send-email" "git-lfs" "rsync" "sshfs" "stow" + "font-google-noto" "font-latin-modern" + "gcc" "python" "gnupg" "pinentry" "oath-toolkit" + "imv" "imagemagick" "zathura" "zathura-pdf-poppler" + "pavucontrol" "playerctl" "pulsemixer"))) + (services + (list (service home-bash-service-type + (home-bash-configuration + (bashrc (list (local-file "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")))))))))) -- cgit 1.4.1