Advice Packaging APL Fonts
Hi all, I've been working my way through porting a couple of popular APL and BQN fonts, and now I'm working at packaging up Adrian Smith's APL385 and APL333 font: https://apl385.com/fonts/index.htm My intuition is to package the two fonts separately, though now I'm doubting myself wondering if Adrian Smith counts as a foundry or if the pair of fonts make a 'font family'? OpenBSD packages both together: https://openports.pl/path/fonts/apl-fonts#, though I'm not sure how to make up a Guix package to bundle both seeing as they're under separate download links. I'm feeling fairly confident they should be separate, but I wanted to check just in case.
Guix pull with root user?
Hey, I have a guix system setup and I was wondering if it was necessary to guix pull from times to times with the root user. My understanding was that guix pull with your regular user was enough with sudo guix system reconfigure -- Thomas Ieong
Re: adding Samba to config.scm
Hi, if debugging the part of: (services (append (list (service mate-desktop-service-type) (service plasma-desktop-service-type) (service cups-service-type (cups-configuration (web-interface? #t) (extensions (list cups-filters hplip (service openssh-service-type) (service tor-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) (service libvirt-service-type (libvirt-configuration (unix-sock-group "libvirt") (tls-port "16555"))) (service virtlog-service-type (virtlog-configuration (max-clients 1000))) (service samba-service-type (samba-configuration (enable-smbd? #t) (config-file (plain-file "smb.conf" "\ [global] map to guest = Bad User logging = syslog@1 [public] browsable = yes path = /home/gfp/public read only = no guest ok = yes guest only = yes\n") the debugger says: invalid read systax: "#", 10, 38 10 38 is the number of rows and columns so it points to: (web-interface? #t) So what do I have to change, because I took that from the manual? thanks Gottfried Am 22.03.25 um 17:19 schrieb gfp: Hi Felix, I added the Samba service type to my config.scm 1. I tried to do a: sudo guix system reconfigure /etc/config.scm but there was a message: Mistake: samba-service-type: not bound variable here the debugger: gfp@Tuxedo ~$ sudo guix system reconfigure /etc/config.scm Passwort: Backtrace: 18 (primitive-load "/home/gfp/.config/guix/current/bin/guix") In guix/ui.scm: 2352:7 17 (run-guix . _) 2315:10 16 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) In guix/status.scm: 859:3 14 (_) 839:4 13 (call-with-status-report _ _) In guix/scripts/system.scm: 1332:4 12 (_) In ice-9/boot-9.scm: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 690:37 10 (thunk) 1331:8 9 (call-with-build-handler # …) 2212:25 8 (run-with-store # …) In guix/scripts/system.scm: 859:2 7 (_ _) 732:8 6 (_ #) In gnu/system.scm: 1338:19 5 (operating-system-derivation _) 884:11 4 (operating-system-services #< kernel:…>) 918:20 3 (services _) In /etc/config.scm: 45:21 2 (services #< kernel: #) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Fehler: samba-service-type: Nicht gebundene Variable (mistake: samba-service-type: Not bound variable) What do I have to change? here my config.scm: (services (append (list (service mate-desktop-service-type) (service plasma-desktop-service-type) (service cups-service-type (cups-configuration (web-interface? #t) (extensions (list cups-filters hplip (service openssh-service-type) (service tor-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) (service libvirt-service-type (libvirt-configuration (unix-sock-group "libvirt") (tls-port "16555"))) (service virtlog-service-type (virtlog-configuration (max-clients 1000))) (service samba-service-type (samba-configuration (enable-smbd? #t) (config-file (plain-file "smb.conf" "\ [global] map to guest = Bad User logging = syslog@1 [public] browsable = yes path = /public read only = no guest ok = yes guest only = yes\n") 2. Do I have to create a folder /public? or will it be created by sudo guix system reconfigure /etc/config.scm? 3. later I have to do a: ‘chmod -R 777 /public’ (if first the config.scm can be updated and the "/public" folder is created) thanks Gottfried Am 09.03.25 um 16:27 schrieb Felix Lechner: Hi Gottfried, On Sat, Mar 08 2025, gfp wrote: can I copy that to my config.scm? I think so. I have something similar [1] except it also enables the older NT1 protocol---but haven't use the share in a while. Just make sure the /public folder exists and is writable as needed. Kind regards Felix [1] https://codeberg.org/lechner/system-config/src/commit/a7f8ef58d25401dba895e1cbd253cc01724c3793/host/wallace-ser
How to (actually) get a perfect setup?
Hi! I'm struggling with my Emacs setup for config and (hopefully) package hacking. I'm using Emacs with Geiser Guile on Guix System, and I've tried to add both /run//guile/site/3.0 and (built) ~/src/guix to the %load-path (and they are there). Still, I never get a functional development environment. I.e. I'm not able to load any Guix config file without an error, not able to see any code documentation and I'm not able to follow symbols. Emacs is able to find the files of different imported modules (using M-.), but nothing else. From the Geiser Guile REPL I'm able to call (use-modules (gnu home)), but if I call (home-environment) afterwards, I get an "Unbound variable". guix repl and Guile Studio works, so I guess I should take a look at the Guile Studio package. Also, I'm installing all Emacs packages from ELPA instead of Guix (except for emacs-guix). Maybe that's stupid. So how do you manage to get a "perfect" setup? Is it documented somewhere (not considering "The perfect setup" in the reference manual)? Oh, and this is what the relevant part of my init.el looks like right now: ;; Guile scheme support (use-package geiser :ensure t) (use-package geiser-guile :ensure t :config ;; Guix support (let ((guix-dir "~/src/guix/")) (if (file-directory-p guix-dir) (add-to-list 'geiser-guile-load-path guix-dir Best regards, snikta OpenPGP_0x8CF8982C455FAB05.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature
Re: Could not prepare Boot variable
I saw a new blog post that I think is about this issue: https://artemis.sh/2025/02/22/uefi-nvram-defrag.html And some discussion: https://news.ycombinator.com/item?id=43154218 It seems to offer an actual solution to the problem: defragmenting / reallocating the underlying storage. I hope it helps! On Fri, Jan 24, 2025, at 11:18, Roman Riabenko wrote: > Hello > > On Wed, 22 Jan 2025 12:49:20 -0800 > Felix Lechner wrote: > >> On Wed, Jan 22 2025, Efraim Flashner wrote: >> >> > add efi_pstore.pstore_disable=1 as a default kernel argument >> >> Thanks, Ephraim! Due to the recent explosion of traffic on the lists, I >> am reluctant to add one more, but I like your proposal. > > I submitted a patch implementing this idea with explanations. > https://issues.guix.gnu.org/75808 > Now, the discussions can continue in the issue instead of guix-help. > > Roman
Re: Guix pull with root user?
Hey, > I have noticed that "sudo guix system reconfigure ..." does work, but it > needlessly populates /root/.cache/guix with duplicate cruft which over > time gets to be sizeable. Using "sudo -E guix system reconfigure ..." > does not seem to have this side-effect. > > At some point years ago the standard advice switched from "sudo -E guix > system reconfigure ..." to "sudo guix system reconfigure ..." but maybe > somewhere a regression was introduced, or it was subtle enough that > nobody noticed? I only noticed recently running on some diskspace > constrained systems... I just checked and my root .cache is about ~800Mb, thanks for the tip!