Compare commits

...

2 commits

Author SHA1 Message Date
d03c040c19
update commits 2024-10-23 17:55:17 -04:00
6bf901b72d
add authorized keys and sakura substitutes 2024-10-23 17:30:09 -04:00
4 changed files with 17 additions and 5 deletions

1
certs/gpgkey.pub Normal file
View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPSvC13VgZuP40kWP82fnuthD6h2nXrm5uRgicZNSRTD cardno:24 409 474

6
certs/sakura.pub Normal file
View file

@ -0,0 +1,6 @@
(public-key
(ecc
(curve Ed25519)
(q #3E9614FD06AF20F9534DA0DE64FB9004878789744F26FFF2FF381E2EED1DEAC9#)
)
)

View file

@ -3,7 +3,7 @@
(url "https://git.savannah.gnu.org/git/guix.git") (url "https://git.savannah.gnu.org/git/guix.git")
(branch "master") (branch "master")
(commit (commit
"59b2a60d0041882d732e1766e28f0df5a1ef1ac1") "414d6d7f3234e6230366b2f6edc32b4060f01aee")
(introduction (introduction
(make-channel-introduction (make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad" "9edb3f66fd807b096b48283debdcddccfea34bad"
@ -24,8 +24,8 @@
(name 'sakura) (name 'sakura)
(url "https://g.freya.cat/freya/sakura") (url "https://g.freya.cat/freya/sakura")
(branch "main") (branch "main")
;(commit (commit
; "2f5141276f50169cebe682f98a8c64d6c085aafb") "490f9018f0de343c7192c8a2d1f3d9d66f180c8d")
(introduction (introduction
(make-channel-introduction (make-channel-introduction
"490f9018f0de343c7192c8a2d1f3d9d66f180c8d" "490f9018f0de343c7192c8a2d1f3d9d66f180c8d"

View file

@ -224,6 +224,9 @@
; openssh ; openssh
(service openssh-service-type (service openssh-service-type
(openssh-configuration (openssh-configuration
(authorized-keys
`(("freya" ,(local-file "../../certs/gpgkey.pub"))
("root" ,(local-file "../../certs/gpgkey.pub"))))
(permit-root-login #t) (permit-root-login #t)
(allow-empty-passwords? #t) (allow-empty-passwords? #t)
(password-authentication? #f) (password-authentication? #f)
@ -236,10 +239,12 @@
(guix-configuration (guix-configuration
(inherit config) (inherit config)
(substitute-urls (substitute-urls
(append (list "https://substitutes.nonguix.org") (append (list "https://substitutes.nonguix.org"
"https://substitutes.freya.cat")
%default-substitute-urls)) %default-substitute-urls))
(authorized-keys (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))))))) %default-authorized-guix-keys)))))))
(define-public %desktop-freya-services (define-public %desktop-freya-services