From 4b857d49a8777fa181296b7448bf5f719848e101 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Fri, 3 Nov 2023 04:00:51 -0300 Subject: [PATCH] home-environments: radio: Add yuria's public keys to the list of authorized keys --- buer.scm | 6 +++++- modules/radix/files/substitute-keys.scm | 12 ++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 modules/radix/files/substitute-keys.scm diff --git a/buer.scm b/buer.scm index dc06de3..547253c 100644 --- a/buer.scm +++ b/buer.scm @@ -12,7 +12,8 @@ (radix system setuid) (radix secrets) (radix utils) - ((radix files thinkfan) #:prefix file:thinkfan-)) + ((radix files substitute-keys) #:prefix public-key:) + ((radix files thinkfan) #:prefix file:thinkfan-)) (use-service-modules #|A|# admin avahi @@ -172,6 +173,9 @@ (guix-configuration (discover? #t) (build-accounts 16) + (authorized-keys + (cons* public-key:yuria + %default-authorized-guix-keys)) (extra-options `("--max-jobs=8" "--cores=4")))) (service guix-publish-service-type (guix-publish-configuration diff --git a/modules/radix/files/substitute-keys.scm b/modules/radix/files/substitute-keys.scm new file mode 100644 index 0000000..f27dc5d --- /dev/null +++ b/modules/radix/files/substitute-keys.scm @@ -0,0 +1,12 @@ +(define-module (radix files substitute-keys) + #:use-module (gnu) + #:export (yuria)) + +(define yuria + (plain-file "yuria.pub" + "(public-key + (ecc + (curve Ed25519) + (q #D5D0C1203D294B410DA106DDC1713B74CBB27353D53F4EE3D9D26972E8687424#) + ) + )"))