Advertisement
Guest User

Untitled

a guest
Dec 1st, 2020
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. ;; This is an operating system configuration template
  2. ;; for a "bare bones" setup on Novena PVT.
  3.  
  4. (use-modules (gnu) (gnu bootloader u-boot))
  5. (use-service-modules networking)
  6. (use-package-modules bootloaders screen ssh linux)
  7.  
  8. ;;; Note: Novena upstream uses Kernel 3.19
  9.  
  10. ;;; TODO: SD card kernel module sdhci-esdhc-imx
  11. (operating-system
  12. (host-name "novena")
  13. (timezone "Europe/Vienna")
  14. (locale "en_US.utf8")
  15. ; (kernel linux-libre-arm-generic)
  16. (kernel-arguments '("console=ttymxc1,115200"))
  17.  
  18. (bootloader (bootloader-configuration
  19. (bootloader u-boot-novena-bootloader)
  20. (target "/dev/mmcblk0")))
  21.  
  22. ;; This module is required to mount the SD card.
  23. ;(initrd-modules (cons "omap_hsmmc" %base-initrd-modules))
  24.  
  25. (file-systems (cons (file-system
  26. (device (file-system-label "my-root"))
  27. (mount-point "/")
  28. (type "ext4"))
  29. %base-file-systems))
  30.  
  31. ;; Note: root has empty password.
  32. (users (cons (user-account
  33. (name "dannym")
  34. (comment "Danny Milosavljevic")
  35. (group "users")
  36.  
  37. ;; Adding the account to the "wheel" group
  38. ;; makes it a sudoer. Adding it to "audio"
  39. ;; and "video" allows the user to play sound
  40. ;; and access the webcam.
  41. (supplementary-groups '("wheel"
  42. (bootloader (bootloader-configuration
  43. (bootloader u-boot-novena-bootloader)
  44. (target "/dev/mmcblk0")))
  45.  
  46. ;; This module is required to mount the SD card.
  47. ;(initrd-modules (cons "omap_hsmmc" %base-initrd-modules))
  48.  
  49. (file-systems (cons (file-system
  50. (device (file-system-label "my-root"))
  51. (mount-point "/")
  52. (type "ext4"))
  53. %base-file-systems))
  54.  
  55. ;; Note: root has empty password.
  56. (users (cons (user-account
  57. (name "dannym")
  58. (comment "Danny Milosavljevic")
  59. (group "users")
  60.  
  61. ;; Adding the account to the "wheel" group
  62. ;; makes it a sudoer. Adding it to "audio"
  63. ;; and "video" allows the user to play sound
  64. ;; and access the webcam.
  65. (supplementary-groups '("wheel"
  66. "audio" "video")))
  67. %base-user-accounts))
  68.  
  69. ;; Globally-installed packages.
  70. (packages (append (list screen openssh) %base-packages))
  71.  
  72. ; Should be automatic if you specify console=
  73. ; (agetty-service
  74. ; (agetty-configuration
  75. ; (extra-options '("-L"))
  76. ; (baud-rate "115200")
  77. ; (term "vt100")
  78. ; (tty "ttyO0")))
  79.  
  80. (services (append (list (service dhcp-client-service-type))
  81. %base-services)))
  82.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement