add authorized keys and sakura substitutes
This commit is contained in:
parent
1b190e1774
commit
6bf901b72d
3 changed files with 14 additions and 2 deletions
1
certs/gpgkey.pub
Normal file
1
certs/gpgkey.pub
Normal file
|
@ -0,0 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPSvC13VgZuP40kWP82fnuthD6h2nXrm5uRgicZNSRTD cardno:24 409 474
|
6
certs/sakura.pub
Normal file
6
certs/sakura.pub
Normal file
|
@ -0,0 +1,6 @@
|
|||
(public-key
|
||||
(ecc
|
||||
(curve Ed25519)
|
||||
(q #3E9614FD06AF20F9534DA0DE64FB9004878789744F26FFF2FF381E2EED1DEAC9#)
|
||||
)
|
||||
)
|
|
@ -224,6 +224,9 @@
|
|||
; openssh
|
||||
(service openssh-service-type
|
||||
(openssh-configuration
|
||||
(authorized-keys
|
||||
`(("freya" ,(local-file "../../certs/gpgkey.pub"))
|
||||
("root" ,(local-file "../../certs/gpgkey.pub"))))
|
||||
(permit-root-login #t)
|
||||
(allow-empty-passwords? #t)
|
||||
(password-authentication? #f)
|
||||
|
@ -236,10 +239,12 @@
|
|||
(guix-configuration
|
||||
(inherit config)
|
||||
(substitute-urls
|
||||
(append (list "https://substitutes.nonguix.org")
|
||||
(append (list "https://substitutes.nonguix.org"
|
||||
"https://substitutes.freya.cat")
|
||||
%default-substitute-urls))
|
||||
(authorized-keys
|
||||
(append (list (local-file "../../certs/non-guix.pub"))
|
||||
(append (list (local-file "../../certs/non-guix.pub")
|
||||
(local-file "../../certs/sakura.pub"))
|
||||
%default-authorized-guix-keys)))))))
|
||||
|
||||
(define-public %desktop-freya-services
|
||||
|
|
Loading…
Reference in a new issue