From 4b4f975fd318ae1887ba78b0842998acd4c3a789 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Fri, 4 Aug 2023 11:07:33 +0900 Subject: Snapshot desktop userspace declaration --- guix/home.scm | 83 ++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 26 deletions(-) (limited to 'guix/home.scm') diff --git a/guix/home.scm b/guix/home.scm index 9aed14b..c0bc345 100644 --- a/guix/home.scm +++ b/guix/home.scm @@ -3,41 +3,72 @@ (gnu home services desktop) (gnu home services mcron) (gnu home services shells) + (gnu home services ssh) (gnu packages) + (gnu packages bittorrent) + (gnu packages gtk) (gnu services) - (guix gexp)) + (guix gexp) + (guix packages)) (home-environment (packages - (specifications->packages - '("aerc" "isync" "mu" "ncurses" "nheko" "weechat" "weechat-wee-slack" - "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" - "icecat" "liferea" "transmission:gui" "w3m" - "pavucontrol" "playerctl" "pulsemixer"))) + (cons + (list (package ; transmission:gui with GTK+3 for systray + (inherit transmission) + (inputs (modify-inputs (package-inputs transmission) + (replace "gtkmm" gtkmm-3)))) + "gui") + (specifications->packages + '("aerc" "isync" "mu" "nheko" "weechat" "weechat-wee-slack" + "arandr" "libreoffice" "python-ueberzug" "rxvt-unicode" + "audacious" "ffmpeg" "mediainfo" "mpv" "simplescreenrecorder" + "awesome" "copyq" "dbus" "keynav" "scrot" "sx" "xdg-utils" "xrdb" + "bastet" "extremetuxracer" "gnujump" "hedgewars" "kiki" "neverball" + "font-google-noto" "font-latin-modern" "hicolor-icon-theme" "qt5ct" + "gcc-toolchain" "python" "texlive" "zig" + "gimp" "imv" "imagemagick" "zathura" "zathura-pdf-poppler" + "git" "git:send-email" "git-lfs" + "gnupg" "pinentry" "nss-certs" "oath-toolkit" + "icecat" "liferea" "w3m" "yt-dlp" + "ncdu" "ncurses" "stow" "units" "unzip" + "pavucontrol" "playerctl" "pulsemixer")))) (services (list (service home-bash-service-type (home-bash-configuration - (bash-profile (list (local-file "./bash-profile"))) - (bashrc (list (local-file "./bashrc"))))) - (simple-service 'more-home-environment-variables-service - home-environment-variables-service-type - `(("SHELL" . #t) - ("PATH" . "$HOME/.local/bin:$PATH") - ("GOPATH" . "$HOME/.local/share/go") - ("NIX_PATH" . "$HOME/Sauces") - ("EDITOR" . "vim") - ("GPG_TTY" . "$(tty)") - ("QT_QPA_PLATFORMTHEME" . "qt5ct"))) + (bash-profile (list (local-file "bash-profile"))) + (bashrc (list (local-file "bashrc"))))) + (simple-service + 'more-home-environment-variables-service + home-environment-variables-service-type + `(("SHELL" . #t) + ("HISTCONTROL" . "ignoreboth:erasedups") + ("HISTFILESIZE" . "-1") + ("HISTSIZE" . "-1") + ("PATH" . "$HOME/.local/bin:$PATH") + ("GOPATH" . "$HOME/.local/share/go") + ("NIX_PATH" . "$HOME/Sauces") + ("EDITOR" . "vim") + ("GPG_TTY" . "$(tty)") + ("GTK_IM_MODULE" . "ibus") + ("GUIX_GTK2_IM_MODULE_FILE" . "/run/current-system/profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache") + ("GUIX_GTK3_IM_MODULE_FILE" . "/run/current-system/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache") + ("XMODIFIERS" . "@im=ibus") + ("QT_IM_MODULE" . "ibus") + ("QT_QPA_PLATFORMTHEME" . "qt5ct"))) (service home-dbus-service-type) + (service home-openssh-service-type + (home-openssh-configuration + (hosts + (list (openssh-host (name "loang") + (host-name "loang.net") + (user "cnx") + (port 2211)) + (openssh-host (name "rack") + (host-name "10.20.18.56") + (user "cnx") + (port 4071)))) + (authorized-keys (list (local-file "cnx.pub"))))) (service home-mcron-service-type (home-mcron-configuration (jobs (list #~(job '(next-minute (range 0 60 1)) -- cgit 1.4.1