spacepaste

  1.  
  2. ;; This is an operating system configuration template
  3. ;; for a "desktop" setup with GNOME and Xfce where the
  4. ;; root partition is encrypted with LUKS.
  5. (use-modules (gnu) (gnu system nss))
  6. (use-service-modules desktop)
  7. (use-package-modules certs gnome)
  8. (operating-system
  9. (host-name "antelope")
  10. (timezone "America/New_York")
  11. (locale "en_US.utf8")
  12. (bootloader (bootloader-configuration
  13. (bootloader grub-bootloader)
  14. (target "/dev/sda")))
  15. (file-systems (cons (file-system
  16. (device (file-system-label "my-root"))
  17. (mount-point "/")
  18. (type "ext4"))
  19. %base-file-systems))
  20. (users (cons (user-account
  21. (name "philip")
  22. (group "users")
  23. (supplementary-groups '("wheel" "netdev"
  24. "audio" "video"))
  25. (home-directory "/home/philip"))
  26. %base-user-accounts))
  27. ;; This is where we specify system-wide packages.
  28. (packages (cons* nss-certs ;for HTTPS access
  29. gvfs ;for user mounts
  30. %base-packages))
  31. ;; Add GNOME and/or Xfce---we can choose at the log-in
  32. ;; screen with F1. Use the "desktop" services, which
  33. ;; include the X11 log-in service, networking with
  34. ;; NetworkManager, and more.
  35. (services (cons* (gnome-desktop-service)
  36. (xfce-desktop-service)
  37. %desktop-services))
  38. ;; Allow resolution of '.local' host names with mDNS.
  39. (name-service-switch %mdns-host-lookup-nss))
  40.