Advertisement
Guest User

Untitled

a guest
Feb 12th, 2021
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. terminal:
  2. user@host ~$ sudo guix system reconfigure /etc/config.scm
  3. /etc/config.scm:37:19: error: user: unbound variable
  4. hint: Did you forget a `use-modules' form?
  5.  
  6.  
  7. /etc/config.scm:
  8. ;; This is an operating system configuration generated
  9. ;; by the graphical installer.
  10.  
  11. (use-modules (gnu))
  12. (use-service-modules desktop networking ssh xorg)
  13. (use-package-modules xorg)
  14. (use-modules (nongnu packages linux)
  15. (nongnu system linux-initrd))
  16. (use-modules (srfi srfi-1)) ;for 'remove'
  17.  
  18. (operating-system
  19. (kernel linux)
  20. (initrd microcode-initrd)
  21. (firmware (cons* iwlwifi-firmware
  22. amdgpu-firmware
  23. %base-firmware))
  24. (locale "en_US.utf8")
  25. (timezone "America/New_York")
  26. (keyboard-layout (keyboard-layout "us"))
  27. (host-name "host")
  28. (users (cons* (user-account
  29. (name "user")
  30. (comment "user")
  31. (group "users")
  32. (home-directory "/home/user")
  33. (supplementary-groups
  34. '("wheel" "netdev" "audio" "video")))
  35. %base-user-accounts))
  36. (packages
  37. (append
  38. (list (specification->package "i3-wm")
  39. (specification->package "i3status")
  40. (specification->package "dmenu")
  41. (specification->package "st")
  42. (specification->package "nss-certs"))
  43. %base-packages))
  44. (services (cons* (set-xorg-configuration
  45. (xorg-configuration
  46. (extra-config
  47. '("
  48. Section \"InputClass\"
  49. Identifier \"My Mouse\"
  50. Driver \"libinput\"
  51. MatchIsPointer \"yes\"
  52. Option \"AccelProfile\" \"flat\"
  53. Option \"AccelSpeed\" \"0\"
  54. EndSection
  55. Section \"Device\"
  56. Identifier \"AMD\"
  57. Driver \"amdgpu\"
  58. Option \"VariableRefresh\" \"true\"
  59. EndSection
  60. Section \"Monitor\"
  61. Identifier \"DisplayPort-3\"
  62. Modeline \"1920x1080_144\" 325.08 1920 1944 1976 2056 1080 1083 1088 1098 +hsync +vsync
  63. Option \"PreferredMode\" \"1920x1080_144\"
  64. Option \"Primary\" \"true\"
  65. EndSection
  66. Section \"Monitor\"
  67. Identifier \"DVI-D-0\"
  68. Option \"Primary\" \"false\"
  69. Option \"RightOf\" \"DisplayPort-3\"
  70. EndSection
  71. "))))
  72. (service slim-service-type (slim-configuration
  73. (display ":0")
  74. (vt "vt7")
  75. (auto-login-session #t)
  76. (default-user user)))
  77. ;;; a second SLiM on another vt
  78. ;; (service slim-service-type (slim-configuration
  79. ;; (display ":1")
  80. ;; (vt "vt8")))
  81. (remove (lambda (service)
  82. (eq? (service-kind service) gdm-service-type))
  83. %desktop-services)))
  84. (bootloader
  85. (bootloader-configuration
  86. (bootloader grub-efi-bootloader)
  87. (target "/boot/efi")
  88. (keyboard-layout keyboard-layout)))
  89. (mapped-devices
  90. (list (mapped-device
  91. (source
  92. (uuid "71815e69-0568-4dc3-897f-186c77df1ce4"))
  93. (target "cryptroot")
  94. (type luks-device-mapping))))
  95. (file-systems
  96. (cons* (file-system
  97. (mount-point "/boot/efi")
  98. (device (uuid "7CE9-38DB" 'fat32))
  99. (type "vfat"))
  100. (file-system
  101. (mount-point "/")
  102. (device "/dev/mapper/cryptroot")
  103. (type "ext4")
  104. (dependencies mapped-devices))
  105. %base-file-systems)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement