Guest User

Untitled

a guest
Dec 25th, 2018
246
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  5. (use-modules (gnu) (gnu system nss))
  6. (use-service-modules desktop)
  7. (use-package-modules certs gnome)
  8.  
  9. (operating-system
  10. (host-name "antelope")
  11. (timezone "Europe/Paris")
  12. (locale "en_US.utf8")
  13.  
  14. ;; Use the UEFI variant of GRUB with the EFI System
  15. ;; Partition mounted on /boot/efi.
  16. (bootloader (bootloader-configuration
  17. (bootloader grub-bootloader)
  18. (target "/dev/sda")))
  19.  
  20. ;; Specify a mapped device for the encrypted root partition.
  21. ;; The UUID is that returned by 'cryptsetup luksUUID'.
  22.  
  23. (file-systems (cons (file-system
  24. (device (file-system-label "my-root"))
  25. (mount-point "/")
  26. (type "ext4")
  27. %base-file-systems)))
  28.  
  29. (users (cons (user-account
  30. (name "bob")
  31. (comment "Alice's brother")
  32. (group "users")
  33. (supplementary-groups '("wheel" "netdev"
  34. "audio" "video"))
  35. (home-directory "/home/bob"))
  36. %base-user-accounts))
  37.  
  38. ;; This is where we specify system-wide packages.
  39. (packages (cons* nss-certs ;for HTTPS access
  40. gvfs ;for user mounts
  41. %base-packages))
  42.  
  43. ;; Add GNOME and/or Xfce---we can choose at the log-in
  44. ;; screen with F1. Use the "desktop" services, which
  45. ;; include the X11 log-in service, networking with
  46. ;; NetworkManager, and more.
  47. (services (cons* (gnome-desktop-service)
  48. (xfce-desktop-service)
  49. %desktop-services))
  50.  
  51. ;; Allow resolution of '.local' host names with mDNS.
  52. (name-service-switch %mdns-host-lookup-nss))
RAW Paste Data