(use-modules (gnu) (gnu system nss) (gnu system linux-initrd) (gnu bootloader grub) (guix gexp) (guix channels) (guix inferior) (srfi srfi-1)) (use-service-modules desktop xorg mail nix networking sddm docker) (use-package-modules certs gnome fonts xfce linux) (operating-system (host-name "guix-pc") (timezone "Asia/Shanghai") (locale "zh_CN.utf8") (keyboard-layout (keyboard-layout "cn")) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi") (menu-entries (list ;; (menu-entry ;; (label "archlinux") ;; (device (uuid "1C31-A17C" 'fat)) ;; (chain-loader "/EFI/ArchLinux/grubx64.efi")) (menu-entry (label "test") (device (uuid "6d5b13d4-6092-46d0-8be4-073dc07413cc")) (linux "/rootfs/gnu/store/7rbmca2wcgsbxhdh4w1whmz7q6rndmlm-linux-5.18.14/bzImage") (initrd "/rootfs/gnu/store/22zfdzd6c7blr2k009armbdwgji20a4b-raw-initrd/initrd.cpio.gz")))) (keyboard-layout keyboard-layout))) (file-systems (cons* (file-system (device (file-system-label "guix-root")) (mount-point "/") (type "btrfs") (options "subvol=rootfs,ssd,discard,compress")) (file-system (device (file-system-label "Linux_home")) (mount-point "/home") (type "ext4")) (file-system (device (uuid "1C31-A17C" 'fat)) (mount-point "/boot/efi") (type "vfat")) %base-file-systems)) )