Update config.scm

main
千住柱間 2024-03-01 23:48:49 +00:00
parent 9ec9bcef93
commit 196298db94
1 changed files with 42 additions and 34 deletions

View File

@ -1,12 +1,24 @@
;; 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 (use-modules
(gnu) (gnu)
(guix packages) (guix packages)
(gnu packages fcitx5) (gnu packages fcitx5)
(gnu packages gnuzilla) (gnu packages gnuzilla)
(gnu packages freedesktop)
(gnu packages image)
(gnu packages image-viewers) (gnu packages image-viewers)
(gnu packages xfce)
(srfi srfi-1)
;; for nyxt ;; for nyxt
(gnu packages gstreamer) (gnu packages gstreamer)
(gnu packages web-browsers) (gnu packages web-browsers)
@ -52,6 +64,8 @@
(gnu packages xorg) (gnu packages xorg)
(gnu home services gnupg) (gnu home services gnupg)
(gnu home services xdg) (gnu home services xdg)
(guix channels)
(guix inferior)
(nongnu packages compression) (nongnu packages compression)
(nongnu packages linux) (nongnu packages linux)
(nongnu system linux-initrd)) (nongnu system linux-initrd))
@ -59,7 +73,10 @@
(use-service-modules cups desktop networking ssh xorg linux) (use-service-modules cups desktop networking ssh xorg linux)
(use-package-modules linux ) (use-package-modules linux )
(define my-kernel linux-6.1) (define my-kernel linux-6.1)
(define my-zfs (define my-zfs
(package (package
(inherit zfs) (inherit zfs)
@ -72,7 +89,6 @@
(initrd microcode-initrd) (initrd microcode-initrd)
(firmware (list linux-firmware)) (firmware (list linux-firmware))
(locale "en_US.utf8") (locale "en_US.utf8")
(timezone "America/Manaus") (timezone "America/Manaus")
(keyboard-layout (keyboard-layout "us")) (keyboard-layout (keyboard-layout "us"))
@ -104,23 +120,30 @@
nyxt nyxt
;;------ ;;------
cmus cmus
wmctrl
xprop xprop
fzf
zstd zstd
aria2 aria2
xrdb xrdb
;;make ;;make
mpv mpv
xdg-user-dirs
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal xdg-desktop-portal
tmux tmux
sdcv sdcv
alacritty alacritty
;; stumpwm-test
font-dejavu
stumpwm
;;------
higan higan
maim maim
p7zip p7zip
htop htop
flatpak
scrot scrot
flameshot
neofetch neofetch
pfetch pfetch
;;element-desktop ;;element-desktop
@ -133,40 +156,29 @@
icecat icecat
ffmpeg ffmpeg
nsxiv nsxiv
pinentry
git git
pavucontrol-qt pavucontrol-qt
emacs emacs
;;emacs-org-timeblock xrandr
xrandr
ungoogled-chromium ungoogled-chromium
qbittorrent qbittorrent
;;guile emacs-rainbow-delimiters
emacs-geiser
emacs-geiser-guile
emacs-dirvish
emacs-eat
emacs-rainbow-delimiters
emacs-olivetti emacs-olivetti
emacs-telega emacs-telega
emacs-slime emacs-slime
emacs-nerd-icons emacs-nerd-icons
emacs-esxml
zip
thunar
unzip
;;emacs-nov-el
fontconfig fontconfig
;; font-apple-color-emoji ;; font-apple-color-emoji
picom picom
feh feh
xmodmap xmodmap
rofi rofi
sbcl-stumpwm-swm-gaps
sbcl-stumpwm-pamixer
sbcl-stumpwm-screenshot
sbcl-stumpwm-disk
sbcl-stumpwm-ttf-fonts
stumpwm `(,stumpwm "lib")
sbcl-stumpwm-mem
sbcl-stumpwm-cpu
sbcl-stumpwm-net
emacs-stumpwm-mode
stumpish
yt-dlp yt-dlp
;; nicotine+ ;; nicotine+
linux-firmware linux-firmware
@ -182,14 +194,14 @@
(append (list (simple-service 'my-zfs-loader (append (list (simple-service 'my-zfs-loader
kernel-module-loader-service-type kernel-module-loader-service-type
'("zfs")) '("zfs"))
(service zram-device-service-type (service zram-device-service-type
(zram-device-configuration (zram-device-configuration
(size "3G") (size "3G")
(compression-algorithm 'lz4) (compression-algorithm 'lz4)
(priority 100))) (priority 100)))
(set-xorg-configuration (set-xorg-configuration
(xorg-configuration (keyboard-layout keyboard-layout)))) (xorg-configuration (keyboard-layout keyboard-layout))))
%desktop-services)) %desktop-services))
(bootloader (bootloader-configuration (bootloader (bootloader-configuration
(bootloader grub-efi-bootloader) (bootloader grub-efi-bootloader)
@ -220,7 +232,3 @@
'ext4)) 'ext4))
(type "ext4")) (type "ext4"))
%base-file-systems))) %base-file-systems)))