Correctly defined ssh server and nonguix substitutes
This commit is contained in:
parent
e4afbe625f
commit
a304055fa0
21
config.scm
21
config.scm
|
@ -109,6 +109,12 @@ SUBSYSTEM==\"usb_device\", GROUP=\"spice\", MODE=\"0660\"
|
|||
(modify-services (append
|
||||
(list
|
||||
(service gnome-desktop-service-type)
|
||||
(service openssh-service-type
|
||||
(openssh-configuration
|
||||
(x11-forwarding? #t)
|
||||
(permit-root-login 'prohibit-password)
|
||||
(authorized-keys
|
||||
`(("neox" ,(local-file "/home/neox/.ssh/id_rsa.pub"))))))
|
||||
(service cups-service-type
|
||||
(cups-configuration
|
||||
(web-interface? #t)
|
||||
|
@ -135,7 +141,20 @@ SUBSYSTEM==\"usb_device\", GROUP=\"spice\", MODE=\"0660\"
|
|||
|
||||
(guix-service-type config => (guix-configuration
|
||||
(inherit config)
|
||||
(extra-options '("--cores=10"))))))
|
||||
(extra-options '("--cores=10"))
|
||||
(substitute-urls
|
||||
(append (list "https://substitutes.nonguix.org")
|
||||
%default-substitute-urls))
|
||||
(authorized-keys
|
||||
(append
|
||||
(list
|
||||
(plain-file "non-guix.pub"
|
||||
(string-append
|
||||
"(public-key"
|
||||
" (ecc "
|
||||
" (curve Ed25519)"
|
||||
" (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)))")))
|
||||
%default-authorized-guix-keys))))))
|
||||
|
||||
(bootloader (bootloader-configuration
|
||||
(bootloader grub-efi-bootloader)
|
||||
|
|
Loading…
Reference in New Issue