spacepaste

  1.  
  2. (use-modules (gnu) (gnu system nss))
  3. (use-service-modules desktop networking ssh)
  4. (use-package-modules bootloaders)
  5. (operating-system
  6. (host-name "mercy")
  7. (timezone "America/Los_Angeles")
  8. (locale "en_US.utf8")
  9. (bootloader (grub-configuration (grub grub-efi)
  10. (timeout "0")
  11. (target "/boot/efi")))
  12. (file-systems (cons* (file-system
  13. (device "/dev/sda2")
  14. (mount-point "/boot/efi")
  15. (type "vfat"))
  16. (file-system
  17. (device "/dev/sda5")
  18. (mount-point "/")
  19. (type "btrfs"))
  20. (file-system
  21. (type "ext4")
  22. (mount-point "/home/taohansen/mnt/tanha")
  23. (title 'uuid)
  24. (device (uuid "887c048c-3573-4ce7-8ac7-df1ca956df19")))
  25. %base-file-systems))
  26. (sudoers-file (plain-file "sudoers" "\
  27. root ALL=(ALL) ALL
  28. Defaults:taohansen !authenticate
  29. %wheel ALL=(ALL) NOPASSWD:ALL\n"))
  30. (users (cons (user-account
  31. (name "taohansen")
  32. (group "users")
  33. (supplementary-groups '("wheel" "netdev"
  34. "audio" "video"))
  35. (home-directory "/home/taohansen"))
  36. %base-user-accounts))
  37. (packages (append (map specification->package
  38. '("fish"
  39. "emacs-exwm"
  40. "nss-certs"
  41. "gvfs"
  42. "xrdb"
  43. "neovim"
  44. "wgetpaste"
  45. "rsync"
  46. "mosh"
  47. "ntfs-3g"
  48. "qutebrowser"
  49. "icecat"
  50. "guile-git"
  51. "mpv"
  52. "git"
  53. "xcb-util-cursor"
  54. "font-google-noto"))
  55. %base-packages))
  56. ;; Use the "desktop" services, which include the X11
  57. ;; log-in service, networking with Wicd, and more.
  58. (services (cons*
  59. (service openssh-service-type)
  60. %desktop-services))
  61. ;; Allow resolution of '.local' host names with mDNS.
  62. (name-service-switch %mdns-host-lookup-nss))
  63.