1. ;; This is an operating system configuration template
  2. ;; for a "desktop" setup with GNOME and Xfce where the
  3. ;; root partition is encrypted with LUKS.
  4. (use-modules (gnu) (gnu system nss))
  5. (use-service-modules desktop)
  6. (use-package-modules certs gnome)
  7. (operating-system
  8. (host-name "fusion809-vbox")
  9. (timezone "Australia/Brisbane")
  10. (locale "en_AU.utf8")
  11. ;; Assuming /dev/sdX is the target hard disk, and "my-root"
  12. ;; is the label of the target root file system.
  13. (bootloader (grub-configuration (device "/dev/sda")))
  14. (file-systems (cons (file-system
  15. (device "my-root")
  16. (title 'label)
  17. (mount-point "/")
  18. (type "ext4"))
  19. %base-file-systems))
  20. (users (cons (user-account
  21. (name "fusion809")
  22. (comment "Admin")
  23. (group "users")
  24. (supplementary-groups '("wheel" "netdev"
  25. "audio" "video"))
  26. (home-directory "/home/fusion809"))
  27. %base-user-accounts))
  28. ;; This is where we specify system-wide packages.
  29. (packages (cons* nss-certs ;for HTTPS access
  30. gvfs ;for user mounts
  31. %base-packages))
  32. ;; Add GNOME and/or Xfce---we can choose at the log-in
  33. ;; screen with F1. Use the "desktop" services, which
  34. ;; include the X11 log-in service, networking with Wicd,
  35. ;; and more.
  36. (services (cons* (gnome-desktop-service)
  37. %desktop-services))
  38. (define %my-services
  39. (modify-services %base-services
  40. (guix-service-type config =>
  41. (guix-configuration
  42. (inherit config)
  43. (use-substitutes? #f)
  44. (extra-options '("--cores=4 --max-jobs=5"))
  45. (console-keymap-service "us")))))
  46. (name-service-switch %mdns-host-lookup-nss))