bare-bones.scm 998 B

123456789101112131415161718192021222324252627282930
  1. (use-modules
  2. (gnu)
  3. (al guix services linux))
  4. (operating-system
  5. (host-name "leviafan")
  6. (timezone "Europe/Moscow")
  7. (locale "en_US.utf8")
  8. (bootloader (bootloader-configuration
  9. (bootloader grub-bootloader)
  10. (target "/dev/sda")))
  11. (initrd (lambda (fs . args)
  12. (apply base-initrd fs
  13. #:extra-modules '("sata_nv") ; for my HDD
  14. args)))
  15. (file-systems (cons (file-system
  16. (device (file-system-label "guix"))
  17. (mount-point "/")
  18. (type "ext4"))
  19. %base-file-systems))
  20. (users (cons (user-account
  21. (name "al")
  22. (group "users")
  23. (supplementary-groups '("wheel" "audio" "video"))
  24. (home-directory "/home/al"))
  25. %base-user-accounts))
  26. (packages %base-packages)
  27. (services (cons* (service loadkeys-service-type "dvorak")
  28. %base-services)))