12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- (use-modules (gnu))
- (use-service-modules networking ssh)
- (use-package-modules admin curl networking screen)
- (operating-system
- (host-name "ruby-guard-5545")
- (timezone "Europe/Budapest")
- (locale "en_US.utf8")
-
-
-
- (bootloader (bootloader-configuration
- (bootloader grub-bootloader)
- (targets '("/dev/sdX"))))
- (file-systems (cons (file-system
- (device (file-system-label "my-root"))
- (mount-point "/")
- (type "ext4"))
- %base-file-systems))
- (users (cons (user-account
- (name "alice")
- (comment "Bob's sister")
- (group "users")
-
-
- (supplementary-groups '("wheel" "yggdrasil")))
- %base-user-accounts))
-
- (packages (cons* screen curl %base-packages))
-
-
-
-
-
-
-
- (services
- (append
- (list
- (service dhcp-client-service-type)
- (service yggdrasil-service-type
- (yggdrasil-configuration
- (log-to 'stdout)
- (log-level 'debug)
- (autoconf? #f)
- (json-config
-
-
- '((peers . #("tcp://1.2.3.4:1337"))))
- (config-file #f)))
- (service openssh-service-type
- (openssh-configuration
- (port-number 2222))))
- %base-services)))
|