From f01d3d9c77e4cb0ab517f24066400cdb883ce416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E4=BD=8F=E6=9F=B1=E9=96=93?= Date: Sat, 3 Feb 2024 04:12:40 +0000 Subject: [PATCH] Update config.scm --- config.scm | 66 +++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 51 insertions(+), 15 deletions(-) diff --git a/config.scm b/config.scm index 820b241..95092e5 100644 --- a/config.scm +++ b/config.scm @@ -1,18 +1,11 @@ -;; This is an operating system configuration generated -;; by the graphical installer. -;; -;; Once installation is complete, you can learn and modify -;; this file to tweak the system configuration, and pass it -;; to the 'guix system reconfigure' command to effect your -;; changes. +;; -;; Indicate which modules to import to access the variables -;; used in this configuration. (use-modules (gnu) -(guix packages) -(gnu packages gnuzilla) + (guix packages) + (gnu packages fcitx5) + (gnu packages gnuzilla) (gnu packages image-viewers) ;; for nyxt (gnu packages gstreamer) @@ -34,6 +27,9 @@ (gnu packages emacs-xyz) (gnu packages engineering) (gnu packages fonts) + (gnu packages tmux) + (gnu packages dictionaries) + (gnu packages emulators) (gnu packages fontutils) (gnu packages gimp) (gnu packages gnome) @@ -108,13 +104,32 @@ nyxt ;;------ cmus + xprop zstd + aria2 + xrdb + ;;make mpv - kitty + xdg-desktop-portal-gtk + xdg-desktop-portal + tmux + sdcv + alacritty + higan maim + p7zip + htop + flatpak scrot neofetch pfetch + ;;element-desktop + fcitx5 + fcitx5-gtk + fcitx5-qt + fcitx5-anthy + fcitx5-gtk4 + fcitx5-configtool icecat ffmpeg nsxiv @@ -128,7 +143,15 @@ ;;guile emacs-geiser emacs-geiser-guile + emacs-dirvish + emacs-eat + emacs-rainbow-delimiters + emacs-olivetti + emacs-telega + emacs-slime + emacs-nerd-icons fontconfig + ;; font-apple-color-emoji picom feh xmodmap @@ -144,7 +167,8 @@ sbcl-stumpwm-net emacs-stumpwm-mode stumpish - youtube-dl + yt-dlp + ;; nicotine+ linux-firmware (specification->package "nss-certs")) %base-packages)) @@ -157,7 +181,12 @@ (services (append (list (simple-service 'my-zfs-loader kernel-module-loader-service-type - '("zfs")) + '("zfs")) + (service zram-device-service-type + (zram-device-configuration + (size "3G") + (compression-algorithm 'lz4) + (priority 100))) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))) %desktop-services)) @@ -183,7 +212,14 @@ (device (uuid "ef8ef1c0-99bd-431a-abde-e2fc6421da60" 'ext4)) - (type "ext4")) %base-file-systems))) + (type "ext4")) + (file-system + (mount-point "/mnt/Reading") + (device (uuid + "223baecf-e5f4-453f-90c7-d33edbbae145" + 'ext4)) + (type "ext4")) + %base-file-systems)))