diff options
Diffstat (limited to 'guix/vkraus/systems/webid-oidc-issuer.scm')
-rw-r--r-- | guix/vkraus/systems/webid-oidc-issuer.scm | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/guix/vkraus/systems/webid-oidc-issuer.scm b/guix/vkraus/systems/webid-oidc-issuer.scm new file mode 100644 index 0000000..103f49f --- /dev/null +++ b/guix/vkraus/systems/webid-oidc-issuer.scm @@ -0,0 +1,50 @@ +(define-module (vkraus systems webid-oidc-issuer) + #:use-module (gnu) + #:use-module (guix) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (vkraus services webid-oidc) + #:use-module (vkraus packages webid-oidc)) + +(operating-system + (locale "fr_FR.utf8") + (timezone "Europe/Paris") + (keyboard-layout (keyboard-layout "fr")) + (host-name "webid-oidc-issuer") + (users (cons* (user-account + (name "admin") + (comment "Administrator") + (group "users") + (home-directory "/home/admin") + (supplementary-groups + '("wheel" "netdev"))) + %base-user-accounts)) + (packages + (append + (list (specification->package "nss-certs")) + %base-packages)) + (services + (append + (cons* + (service webid-oidc-issuer-service-type + (webid-oidc-issuer-configuration + (webid-oidc webid-oidc-snapshot) + (issuer "http://localhost:8080") + (subject "http://localhost:8080/profile/card#me") + (password "p4ssw0rd") + (jwks-uri "http://localhost:8080/keys") + (authorization-endpoint-uri "http://localhost:8080/authorize") + (token-endpoint-uri "http://localhost:8080/token") + (port 8080))) + %base-services))) + (bootloader + (bootloader-configuration + (bootloader grub-efi-bootloader) + (target "/boot/efi") + (keyboard-layout keyboard-layout))) + (file-systems + (cons* (file-system + (mount-point "/") + (device "/dev/sda") + (type "ext4")) + %base-file-systems))) |