Guest User

Untitled

a guest
Apr 4th, 2025
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.11 KB | None | 0 0
  1. (use-modules
  2. (gnu)
  3. (gnu image)
  4. (gnu system nss)
  5. (guix channels)
  6. (nongnu packages firmware)
  7. (nongnu packages linux)
  8. (nongnu system linux-initrd))
  9.  
  10. (use-service-modules
  11. admin
  12. authentication
  13. base
  14. configuration
  15. dbus
  16. desktop
  17. linux
  18. networking
  19. nix
  20. pm
  21. sddm
  22. sound
  23. virtualization
  24. xorg)
  25.  
  26. (use-package-modules
  27. bootloaders
  28. certs
  29. freedesktop
  30. fonts
  31. gl
  32. gnome
  33. kde-frameworks
  34. linux
  35. pciutils
  36. qt
  37. readline
  38. terminals
  39. version-control
  40. virtualization
  41. wm
  42. xdisorg
  43. xorg)
  44.  
  45. (operating-system
  46. (host-name "ziltis-machine")
  47. (timezone "Europe/Berlin")
  48. (locale "de_DE.utf8")
  49. (keyboard-layout (keyboard-layout "de"
  50. #:options '("caps:swapescape")))
  51. (kernel linux)
  52. (initrd microcode-initrd)
  53. (firmware (list linux-firmware))
  54. (bootloader (bootloader-configuration
  55. (bootloader grub-efi-bootloader)
  56. (targets '("/boot/efi"))
  57. (keyboard-layout keyboard-layout)))
  58. (file-systems (append (list (file-system
  59. (device (file-system-label "EFI"))
  60. (mount-point "/boot/efi")
  61. (type "vfat"))
  62. (file-system
  63. (device (file-system-label "guix"))
  64. (mount-point "/")
  65. (type "xfs")))
  66. %base-file-systems))
  67. (groups (cons* (user-group
  68. (name "plugdev")
  69. (system? #t))
  70. %base-groups))
  71. (users (cons* (user-account
  72. (name "zilti")
  73. (group "users")
  74. (supplementary-groups
  75. '("avahi" "users"
  76. "input"
  77. "wheel"
  78. "netdev"
  79. "plugdev"
  80. "audio"
  81. "cdrom"
  82. "video"
  83. "libvirt"
  84. "lp")))
  85. %base-user-accounts))
  86. (packages (append
  87. (list bluez-firmware
  88. font-terminus
  89. fwupd-nonfree
  90. git
  91. hwdata
  92. i915-firmware
  93. linux-pam
  94. readline
  95. xf86-video-amdgpu
  96. xf86-video-intel
  97. amdgpu-firmware
  98. amd-microcode
  99. intel-microcode
  100. hyprland
  101. qtwayland)
  102. %base-packages))
  103. (services
  104. (append (modify-services %desktop-services
  105. (delete screen-locker-service-type)
  106. (delete pulseaudio-service-type)
  107. (delete gdm-service-type)
  108. (guix-service-type
  109. config =>
  110. (guix-configuration
  111. (inherit config)
  112. (channels (cons* (channel
  113. (name 'nonguix)
  114. (url
  115. "https://gitlab.com/nonguix/nonguix")
  116. (introduction
  117. (make-channel-introduction
  118. "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
  119. (openpgp-fingerprint
  120. "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
  121. %default-channels))
  122. (substitute-urls (append (list
  123. "https://substitutes.nonguix.org")
  124. %default-substitute-urls))
  125. (authorized-keys (append (list
  126. (local-file
  127. "./keys/non-guix.pub"))
  128. %default-authorized-guix-keys))))
  129. (network-manager-service-type
  130. config =>
  131. (network-manager-configuration (inherit
  132. config)
  133. (vpn-plugins
  134. (list
  135. network-manager-openvpn)))))
  136. (list (service tlp-service-type
  137. (tlp-configuration))
  138. ;; (udev-rules-service 'custom-udev
  139. ;; `(,(file->udev-rule "50-zsa.rules"
  140. ;; "/home/zilti/.local/guixconfig/udev/50-zsa.rules")))
  141. (service plasma-desktop-service-type
  142. (plasma-desktop-configuration))
  143. (service sddm-service-type
  144. (sddm-configuration (theme "maya")))
  145. (service thermald-service-type
  146. (thermald-configuration (adaptive? #t)))
  147. (service bluetooth-service-type
  148. (bluetooth-configuration))
  149. (service earlyoom-service-type
  150. (earlyoom-configuration (minimum-available-memory 5)
  151. (minimum-free-swap 5)))
  152. (service inputattach-service-type
  153. (inputattach-configuration))
  154. (service libvirt-service-type
  155. (libvirt-configuration (unix-sock-group "libvirt")))
  156. (service nix-service-type
  157. (nix-configuration))
  158. (service virtlog-service-type
  159. (virtlog-configuration))
  160. (service fstrim-service-type
  161. (fstrim-configuration))
  162. (service fprintd-service-type
  163. (fprintd-configuration)))
  164.  
  165. (list polkit-wheel-service)
  166. (list (service pam-limits-service-type
  167. (list (pam-limits-entry "*"
  168. 'both
  169. 'nofile 524288))))
  170. (list (service unattended-upgrade-service-type
  171. (unattended-upgrade-configuration
  172. (schedule
  173. "5 12 * * 1")
  174. (channels #~(cons* (channel
  175. (name 'nonguix)
  176. (url "https://gitlab.com/nonguix/nonguix")
  177. (introduction
  178. (make-channel-introduction
  179. "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
  180. (openpgp-fingerprint
  181. "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
  182. %default-channels)))))))
  183. (name-service-switch %mdns-host-lookup-nss))
  184.  
Advertisement
Add Comment
Please, Sign In to add comment