From 5b6af027a75f133a1358f6b6e7961d6b86753083 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sun, 15 Feb 2026 22:01:01 +0800 Subject: [PATCH] examples: Adjust examples. * modules/rosenthal/examples/emacs/init-fonts.el: Add link to original source. * modules/rosenthal/examples/guix/config.tmpl (%my-user): Replace password hash. (%my-home): Adjust service extension name. --- modules/rosenthal/examples/emacs/init-fonts.el | 2 ++ modules/rosenthal/examples/guix/config.tmpl | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/rosenthal/examples/emacs/init-fonts.el b/modules/rosenthal/examples/emacs/init-fonts.el index 12d9266..87c0bd8 100644 --- a/modules/rosenthal/examples/emacs/init-fonts.el +++ b/modules/rosenthal/examples/emacs/init-fonts.el @@ -1,5 +1,7 @@ ;;; -*- lexical-binding: t -*- +;; https://github.com/nykma/nema/blob/develop/my-sample/font.el + ;;guix:font-adobe-source-serif ;;guix:font-google-noto-emoji ;;guix:font-sarasa-gothic diff --git a/modules/rosenthal/examples/guix/config.tmpl b/modules/rosenthal/examples/guix/config.tmpl index 6abf12a..f7728e3 100644 --- a/modules/rosenthal/examples/guix/config.tmpl +++ b/modules/rosenthal/examples/guix/config.tmpl @@ -18,9 +18,8 @@ (user-account (name "alice") ;; Initial password: test - ;; Generated using: - ;; echo "test" | guix shell openssl -- openssl passwd -6 -stdin - (password "$6$/KCO8Hq.mcvOg5IW$1r4sExgrmhKulz.0fhWGn3CYtLFYvcDPw8rJSxXET3O1uwuEZTcILcTQJ2eE8kDiBw/30.C7H3.xHISQo5CWj0") + ;; Change your password via `passwd' after logged in. + (password (crypt "test" "$6$abc")) (group "users") (supplementary-groups '("wheel" "audio" "video")) (shell (file-append fish "/bin/fish")))) @@ -106,7 +105,7 @@ fcitx5-unikey)))) ;; Font config. - (simple-service 'extra-fontconfig home-fontconfig-service-type + (simple-service 'extend-fontconfig home-fontconfig-service-type (let ((sans "Noto Sans") (serif "Noto Serif") (mono "Victor Mono")