diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2023-08-04 11:07:33 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-08-04 11:07:33 +0900 |
commit | 4b4f975fd318ae1887ba78b0842998acd4c3a789 (patch) | |
tree | db09cd32f83636bd7d8e194b1a66cda362eafca9 | |
parent | 1347f5061c4a4554d30fa75afbeca3d86c19ed77 (diff) | |
download | dotfiles-4b4f975fd318ae1887ba78b0842998acd4c3a789.tar.gz |
Snapshot desktop userspace declaration
-rw-r--r-- | guix/cnx.pub | 1 | ||||
-rw-r--r-- | guix/home.scm | 83 |
2 files changed, 58 insertions, 26 deletions
diff --git a/guix/cnx.pub b/guix/cnx.pub new file mode 100644 index 0000000..a306b4c --- /dev/null +++ b/guix/cnx.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDZ6NnoEi9d6UfdSqrfzhG5tkNlULQXukIofg+WptnMhaXdrBzALZzNR14U62dtHzwCgAQgC8PwRhNUPXRzgUEoVgf7+i2UKgEjcSp0D43obB5YubUhG8SvyNQ40rfENLOCI6WpsrOMTz097/XVZxHbU5iVmyxJpqzTg3vnLWe7psGYBaSHoX4pmDNmcZ3VIrzNiKGqADFVeBKi5eryJFclse7/K/HzRKnkjdxDhUg73Isw6UvBQFHMhypD7Rgvd3nWp6dSKhI1LlZxWvmfahhC6tof4yE9zu0hEn7Yl8ViIFL1M1Wr7t/Ssc2+1GRsDnbmY059e2rPqJJAN23x6oU7Qm8oShhzplzYf8aF3MStYNhwRMIyakeL2OCGu4EuI62ZLS27pXWhriwKhLcVIqIGKoajK1V3T9tZVbHK7W1olUAz39s8IXV9CBdIkIuSxOqwHXg75NkXT534H2k1bZL2yu9hEJFG4gchJ1rPtiPtyUxgFQzf4RuSxQz4wnAxLswtP1t1WRNbhWLibOHHc00Q54T4ZC0NiQNKEt0seIrvsBCreWtjmk9Kjxd0Zkh5LHAwzzHrv066yIBup5M8IxtUvY/xGiyxGHC7F4h28CaR1wt4o9GdHF6t8T6v6QTbTvy31jTij8fF0NanRn21WAfEWyvT1S4gU71uWEaBYIyS1w== cnx@loang.net 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)) |