Advertisement
Guest User

Untitled

a guest
Apr 21st, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. (use-modules
  2. (gnu)
  3. (gnu packages shells)
  4. (nongnu packages linux)
  5. (nongnu system linux-initrd)
  6. (gnu services networking)
  7. (gnu services desktop)
  8. (gnu services sound)
  9. (gnu services dbus)
  10. (guix channels))
  11.  
  12.  
  13. (operating-system
  14. (kernel linux)
  15. (firmware (list linux-firmware))
  16. (initrd microcode-initrd)
  17. (locale "zh_CN.utf8")
  18. (timezone "Asia/Shanghai")
  19. (keyboard-layout (keyboard-layout "us"))
  20. (host-name "guix")
  21.  
  22. (users (cons (user-account
  23. (name "srus")
  24. (comment "srus")
  25. (shell (file-append fish "/bin/fish"))
  26. (group "users")
  27. (home-directory "/home/srus")
  28. (supplementary-groups '("wheel" "netdev" "audio" "video" "input")))
  29. %base-user-accounts))
  30.  
  31. (packages %base-packages)
  32.  
  33. (services (append (list (service elogind-service-type
  34. (elogind-configuration
  35. (handle-power-key 'ignore)))
  36. (service wpa-supplicant-service-type)
  37. (service network-manager-service-type)
  38. (service polkit-service-type)
  39. (service alsa-service-type))
  40. (modify-services %base-services
  41. (guix-service-type
  42. config => (guix-configuration
  43. (inherit config)
  44. (channels (list
  45. (channel
  46. (inherit (car %default-channels))
  47. (url "https://codeberg.org/guix/guix-mirror"))
  48. (channel
  49. (name 'rustup)
  50. (url "https://github.com/declantsien/guix-rustup"))
  51. (channel
  52. (name 'rosenthal)
  53. (url "https://codeberg.org/hako/rosenthal.git")
  54. (branch "trunk"))
  55. (channel
  56. (name 'nonguix)
  57. (url "https://gitlab.com/nonguix/nonguix"))))
  58. (http-proxy "http://127.0.0.1:7890"))))))
  59.  
  60. (bootloader (bootloader-configuration
  61. (bootloader grub-efi-bootloader)
  62. (targets (list "/boot/efi"))
  63. (keyboard-layout keyboard-layout)))
  64.  
  65. (file-systems (append (list (file-system
  66. (mount-point "/boot/efi")
  67. (device (uuid "6654-020D" 'fat32))
  68. (type "vfat"))
  69. (file-system
  70. (mount-point "/")
  71. (device (uuid "84279b0e-cf15-4b40-8890-fa52650edaee" 'ext4))
  72. (type "ext4")))
  73. %base-file-systems)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement