IRC channel logs

2026-03-26.log

back to list of logs

<vagrantc>hrpf. and "guix build --no-grafts --check guix" worked fine
<vagrantc>i mean ... good ... perhaps a non-deterministic test suite issue?
<gabber>vagrantc: i'd open an issue on codeberg ftr
<vagrantc>good idea
<vagrantc>hopefully i still have the failures somewher ein the scroll buffer :/
<mra>hey guix! having some issues with guix on nixos. i installed guix using services.guix, but running guix pull results in an error: gcrypt/pk-crypto.scm:114:12: In procedure string->canonical-sexp: gcrypt: Invalid length specifier in S-expression
<YAR_Oracool>Can someone help me to install guix with LUX and LVM?
<YAR_Oracool>Trying to do it in a VM before doing it on real hardware and openSUSE that I used until now just does it on install
<ieure>YAR_Oracool, I don't know what LUX is. I'm not sure if LVM is actually supported properly in Guix or not. gnu/tests/install.scm has a comment reading "Since LVM support in guix currently doesn't allow root-on-LVM we use /home on LVM"
<YAR_Oracool>LUKs
<ieure>Oh, sure, okay. LUKS.
<ieure>YAR_Oracool, Probably best to post to guix-devel to see if this setup is currently possible.
<YAR_Oracool>OK then... o LVM. just LUKs on everything
<ieure>YAR_Oracool, Plain LUKS is supported by the graphical installer.
<YAR_Oracool>That's the plan but auto encrypter thingy doesn't do swap or encrypt grub
<ieure>YAR_Oracool, You'd use a swap file instead of a partition with that setup. The only thing left unencrypted is the EFI system partition with the Grub UEFI payload. You cannot encrypt that, the system wouldn't be able to boot at all.
<YAR_Oracool>rip
<YAR_Oracool>Why not use encrypetd swap instead of page files?
<ieure>YAR_Oracool, Because using an encrypted swap partition is annoying without LVM; and because a swap file is just as performant as a partition these days -- though it wasn't that way in the far past.
<YAR_Oracool>I see.
<YAR_Oracool>Concidering guix has generations, I doont think btrfs's snapshoting does anything, right?
<ieure>Sure it does.
<ieure>You don't have generations for the contents of your $HOME, presumably you'll create some documents, photos, etc etc?
<YAR_Oracool>So far I hav extf4 for grub, BTRFS for root and XFS for home
<ieure>I'm a simple man, I roll with one ext4 partition with everything in it.
<ieure>Snapshots are still useful, you might delete a generation or gc some stuff and want it back -- snapshots will get you that.
<YAR_Oracool>And I'm insane so I will have some weird things to configure. Like getting emacs doom to install as part of the system.
<ieure>DOOM Emacs is not packaged for Guix.
<YAR_Oracool>Ye.... I have to start maintaining a few packages
<YAR_Oracool>a bunch of stuff I want aren't packaged anywhere.
<ieure>Some of the individual components of it are, though. emacs-doom-themes, -modeline, -snippets.
<YAR_Oracool>Like Proton VPN GUI
<librecat>is emacs more like an IDE than a text editor like vim?
<ieure>librecat, It isn't really like anything but itself.
<ieure>It is not very IDE-like.
<ieure>But I'm chatting here using it.
<librecat>i use a much worse stack to chat here
<YAR_Oracool>I want to make emacs work like a brain of sorts. Basically middleman between my window and DE.
<YAR_Oracool>I daily drive Emacs doom
<ieure>YAR_Oracool, Use EXWM like I do, then Emacs *is* your WM.
<librecat>irccloud -> microsoft edge -> windows because i want to distract myself with free software chats while i do homework using windows only nonfree software
<librecat>im using a version without recall though
<YAR_Oracool>Single threaded and no wayland is a problem for me
<librecat>i normally use irccloud on firefox or chromium on gnu/linux
<YAR_Oracool>I am planing on doing some gymnastics in quickshell
<ieure>librecat, Good lord, an Edge user? Blink twice if you're okay, three times if Sathya Nadella dispatched the CoPilot ground forces to kidnap you.
<librecat>ieure: if edge is chromium based, has improvments that are simillar to better forks like cromite, and its going to be forced on me anyway,
<librecat>why dont i just customize it
<ieure>YAR_Oracool, Single threaded isn't the best, but it's worth it for me. What do you miss from Wayland? It has not a single thing which appeals to me.
<librecat>im more pragmatic than ideological
<librecat>but i still like fsdg system efforts
<YAR_Oracool>HDR
<YAR_Oracool>althou I daily drive KDE and some options I use there don't apear on the X11 version
<librecat>because instead of only telling others to use fully free os exclusively, fsdg projects actually build said alternatives
<YAR_Oracool>I have my problems with wayland. Like having to throw windows where they have to be everytime or sending hotkeys around
<YAR_Oracool>librecat: Cusomise... EXWM?
<ieure>librecat, I'm not a Free Software ideologue, I just think Firefox is better. Better ad blocking, better extensions, more customizable.
<ieure>Mozilla is awful and Firefox continues getting worse. But it's the only practical option for me.
<librecat>yeah, im getting increasingly more passionate in free software contributions as a hobby
<YAR_Oracool>Ye.. .If I don't want to contribute to chromium monopoly... Fireforx is the only option... on guix... for now...
<librecat>i just need to work on some soft skills
<YAR_Oracool>I might satrt throwing different browsers in my personal channel which I'll share on codeberg or something
<ieure>YAR_Oracool, I use LibreWolf on everything. Best Firefox fork IMO. I contributed it to Guix, because I needed it.
<librecat>i dont like immutable systems that much so im not intrested in trying guix right now
<YAR_Oracool>I don't trust myself enough to start sending packages to official channel yet
<librecat>right now i have most intrest in hyperbola as a project
<librecat>and i normally use gentoo and forks
<YAR_Oracool>I also like my GUIX.. .while libre wolf is god, it's too vanilla for UI
<YAR_Oracool>I am going full guix
<librecat>i think its the best fsf approved system on the technical side
<ieure>I turn off a bunch of the FF/LW UI.
<YAR_Oracool>but for gaming I have to do some leg work
<librecat>in my opinion only
<ieure>I turn tabs off. Don't like browser tabs at all.
<YAR_Oracool>What? guix is FSF approved?
<ieure>Gives me that vertical space back.
<ieure>It's a GNU project.
<librecat>wow guix is so good someone liked it without fsf page
<YAR_Oracool>Ye but what are we talking about?
<ieure> https://www.gnu.org/distros/free-distros.html
<librecat> https://www.gnu.org/distros/free-distros.html
<YAR_Oracool>I do not see guix there
<ieure>It's the third entry.
<YAR_Oracool>I see hyperbola
<YAR_Oracool>oh!
<YAR_Oracool>WHy does it not load the logo
<ieure>lol, because they're hotlinking it from Wikimedia and messed it up
<ieure>On the Old Internet, that'd be a paddlin'
<YAR_Oracool>I found guix because I had an issue with how Nix Home was made so I was basically looking for Nix but not Nix and I found GUIX
<librecat>guix is nice in generral
<ieure>YAR_Oracool, Makes sense.
<librecat>lots of technical greatness is inside guix
<librecat>just read the 1.5 changelog
<YAR_Oracool>It feels like I don't really have to do package miantenece for guix.
<YAR_Oracool>just port it over
<YAR_Oracool>if you catch my drift
<ieure>Not really.
<librecat>i personally make gentoo packages on the fly for my needs
<librecat>because upstreaming requires me to polish them up and maintain them long term
<librecat>even for submitting to guru
<ieure>I guess you can pretty much package stuff for yourself and ignore it, if you like.
<YAR_Oracool>Packages based on the guides I've seen are like: Look at this repo, grab this file.
<ieure>librecat, One of my favorite things about Guix is that it's hackable without feeling hacky.
<librecat>also its got lots of binary packages
<ieure>librecat, I have a channel with stuff in it I've packaged or find useful, it works just as good as the official channel with very little effort. And I can just keep doing stuff that way, if I like.
<YAR_Oracool>I have to package protonPlus, Proton Tricks and maybe wine tricks?, Proton VPN GUI, Lutris and 2 browsers
<librecat>shouldnt be impossible if you know the syntax
<librecat>i dont
<ieure>Depends how many corners you want to cut.
<ieure>The thing that's actually hard when it comes to contributing packages is making sure they build 100% from source.
<YAR_Oracool>For some reason, proton VPN CLI is there but not GUI but I should have seen that coming since I sometimes feel like Linux guys are hostile to GUI.
<ieure>Lots of stuff not in Guix is missing due to difficulty building from source.
<ieure>Rather than because it's non-Free.
<librecat>that is an amazing requirement
<librecat>sure practically its harder
<librecat>but it is really good for increasing user trust in a package
<YAR_Oracool>ROCm and all DRMs I need are there so it's way better then I thought it would be.
<YAR_Oracool>So my blurays are saved
<YAR_Oracool>Because I still use those instead of paying a subscription like a caveman
<librecat> https://www.youtube.com/watch?v=PiAMRXYIri0
<ieure>I salute you.\
<librecat>these sound like solid reasons
<librecat>real language - WOW i dont have to learn nix lang :)
<librecat>also building the graphical package manager using emacs is an intresting idea
<YAR_Oracool>I only know C++ and JS
<librecat>i know C and Python but nix language is so bad im willing to give guix scheme a chance
<YAR_Oracool>I can see a package manager in emacs working if you combine t with org
<YAR_Oracool>emacs and guix look pretty similar
<ieure>Philosophically.
<YAR_Oracool>WHy did it highlight look?
<ieure>Because it's someone's nick.
<ieure>Run: /whois look
<ieure>Well, I guess not "run." But type it into your IRC client.
<YAR_Oracool>I should add irc to my doom emacs set up...
<ieure>YAR_Oracool, Unless they remove bundled packages, you should have at least two clients already.
<YAR_Oracool>I have to turn it on in emacs doom
<ieure>I see.
<YAR_Oracool>The biggest step is to get doom emacs in guix and see if I can make it part of the system config
<ieure>YAR_Oracool, Not the system config. Home config.
<YAR_Oracool>All of my programs are system wide atm.
<YAR_Oracool>so... not really
<ieure>This is an atypical setup, not recommended.
<ieure>But even if the package is installed in the system profile, if you want to generate configs with a service, that belongs in a home service.
<ieure>I never used DOOM Emacs. It didn't exist when I started using Emacs.
<YAR_Oracool>The reason I'm hell bent on doing that is to make sure I can recover if things go bad
<YAR_Oracool>and emacs has configs... that's gonna be in home.
<ieure>YAR_Oracool, How does the system profile help you recover?
<YAR_Oracool>but it has some files that I was planing to make system wide.
<YAR_Oracool>ieure: Maybe?
<ieure>How do you envision making DOOM Emacs "part of the system config?"
<YAR_Oracool>Concidering Guic can build it self back up from nothing
<YAR_Oracool>ieure: Just install the files
<YAR_Oracool>that's part of the system as far as I'm concerned
<YAR_Oracool>and install them in root not home.
<ieure>YAR_Oracool, You don't need anything other than a buildable package for that.
<librecat>me when people are using antigravity+gemini to write websites: https://linux.softpedia.com/get/Programming/Version-Control/cgit-103224.shtml
<ieure>YAR_Oracool, Nothing installs into the root or home, not really. Profiles are symlinks to the store.
<YAR_Oracool>Something is dowloaded when I set up packages to exist on the system
<YAR_Oracool>THe files should be in root since I decoupled root from home.
<ieure>YAR_Oracool, All packages go into /gnu/store.
<ieure>Profiles are a collection of symlinks to the specific packages within /gnu/store
<YAR_Oracool> https://github.com/doomemacs/doomemacs
<YAR_Oracool>Basically this has to be dowloaded with my config.
<YAR_Oracool>ieure: Huh.. so I don't have to throw packages in system config
<YAR_Oracool>good to know
<ieure>Correct, they install to the exact same place no matter what profile they're part of.
<YAR_Oracool>Well... time to redo some parts of my config... the packages section
<librecat>that cgit picture seems to be from firefox 4 or something
<YAR_Oracool>cgit?
<ieure>System profile should have the package needed to make the system function. coreutils, network-manager, display manager, etc etc. Most of the stuff users directly use belongs in a user profile.
<librecat>i tried firefox 24 esr thanks to being able to use windows and it doesnt look exactly alike
<librecat> https://linux-cdn.softpedia.com/screenshots/cgit_1.png
<librecat>this
<librecat>cgit is a lightweight git repository browser in C
<ieure>librecat, Yeah, some old Firefox. With the bigger back button.
<librecat>i recommend considering it over a full blown forgejo instance if you only want to show your work
<YAR_Oracool>ieure: Sounds like Nvidia is gona be Nvidia when I want to trow the setup on my laptop
<librecat>because you will have almost no risk of a login window exploit if you expose a cgit
<librecat>but not a forgejo
<ieure>YAR_Oracool, Yes, it's horrible, I actually just removed the nVidia GPU from my desktop because I couldn't make it work reliably.
<YAR_Oracool>My PC is full AMD
<YAR_Oracool>mylaptop thou...
<ieure>AMD stuff seems to work fine, but I only have a laptop with integrated Radeon graphics, not a desktop with a dGPU.
<YAR_Oracool>Althou I think Nvidia dropped support for GTX 1050... so maybe I should stick to Neuvu or whatever that's called?
<ieure>nouveau. It doesn't work very well, in my experience.
<YAR_Oracool>ye byt 1050 isn't supported anymore
<YAR_Oracool>I don't think I can even get official driver for it
<ieure>Maybe not in the new partly open source driver? But the old fully binary one still exists.
<ieure>-> #nonguix for these convos, though.
<librecat> https://usercontent.irccloud-cdn.com/file/r4DPtlnI/firefox-28.8.1-esr.png
<librecat>so here is this thing running on my pc right now
<YAR_Oracool>THERE WE GO! I could not find that channel anywhere I looked
<YAR_Oracool>I have to ask them a few questions later
<ieure>librecat, I remember running super early Mozilla builds, the ones with the blue striped UI. Before Firefox existed.
<ieure>But I also remember running Netscape 2.x with the Motif UI.
<librecat>i started using firefox duing the quantum era
<YAR_Oracool>I switched to firefox a few years ago after being on Vivaldi
<librecat>i briefly saw the australis
<librecat>but what really got me using firefox was quantum
<YAR_Oracool>hence my problem with the UI
<librecat>i like the first quantum ui to this day
<librecat>but if firefox is gonna change its ui every few years i might aswell get used to the quirks of pale moon or basilisk
<ieure>YAR_Oracool, It's a web browser, it's supposed to be unobtrusive so you focus on the site.
<librecat>i tried reviving iceweasel one day
<librecat> https://github.com/freetolga/Iceweasel
<YAR_Oracool>NOt to me. It's too bare bones
<librecat>basically basilisk wasnt building at the time
<YAR_Oracool>I liked..... aaaa let me find the name
<librecat>but i figured out a hack where building basilisk through the pale moon source tree worked
<librecat>so at the end i just combined pale moon source tree, normal UXP and hyperbola's iceweasel-uxp branding
<librecat>and that cobbled together mess actually compiled fine....
<YAR_Oracool>zen and floorp
<YAR_Oracool>I liked these 2
<librecat>if firefox is gonna just be chromium rewritten in rust then i might aswell fund pale moon
<librecat>or if firefox is gonna just be another AI browser
<YAR_Oracool>I thought pale moon was abandoned
<librecat>wdym abandoned
<librecat>its really vibrant
<ieure>Servo is still going, I think.
<librecat>look how much faster pale moon got even in 1 year
<librecat>the latest pale moon can load github or youtube without palefill
<ieure>That's the one I have some hope for... But whatever emerges, I'll be glad to put this era behind me. Internet Explorer 6 all over again, but with Chrome.
<YAR_Oracool>I am waiting for LadyBird but I do need some extentions
<ieure>Main guy behind Ladybird sucks, project is Dead to Me.
<YAR_Oracool>The AI for changing C++ to Rust issue?
<librecat>if we minimize the use of JavaScript by not using AI slop in our websites and make sure the few bits we do need are compatible with almost any browser then we might have a chance...
<ieure>YAR_Oracool, I pay zero attention to the project, so I don't even know of that. Guy was problematic before LLMs got popular.
<YAR_Oracool>oh.. .I had 0 problems with him. I still don't for the most part but ye.
<YAR_Oracool>He moved the project to rust using LLMs
<ieure>Revolting.
<YAR_Oracool>I take a bad third option to the 2 options we have now
<YAR_Oracool>Well.. if we don't count text only web browsers
<ieure>They're less useful than ever because of anti-LLM scraper measures being deployed widely.
<ieure>I used to use eww for technical documentation reference a lot, but even those type of sites need JS to solve Anubis challenges these days. Or have Cloudflare DDOS stuff.
<mra>ieure: was kind of sad that the folks behind ladybird suck. i was briefly excited about it because of mozilla's addiction to shooting themselves in the foot
<YAR_Oracool>I hadnot used eww ever. I plan to replace Lynx with ewww thou
<ieure>mra, Indeed.
<YAR_Oracool>Mozila never misses an oprtunity to missan oporttuity
<mra>YAR_Oracool: something like that, yeah
<YAR_Oracool>OH! Deskto Service Plasa doesn't install KAT!
<YAR_Oracool>KATE*
<YAR_Oracool>Why?
<YAR_Oracool>oh well... nano it is.
<YAR_Oracool>ye.. .plasma service is raw in guix
<YAR_Oracool>ieure: HOw do you recommend me to install packages without resorting to config.csmm because I can not findany info as to where I can set it up to read from home.
<YAR_Oracool>Should i toss it in home manager?
<trev>YAR_Oracool: guix home, yes
<ieure>YAR_Oracool, Yes, in a Guix Home configuration.
<YAR_Oracool>When making my own channel, do I have to export everything manually or can I do an export all?
<csantosb>Good morning Guix !
<csantosb>Looking at #7469 right now, a 8 GB package, I'm even unable to clone the repository
<csantosb>Seriously considering the #bloatedupstream codeberg label ...
<efraim>csantosb: looking at `guix size freecad` I see 2 clangs, 3 llvms, qtbase 5 and 6, gcc-14 and 3x gcc:lib
<csantosb>Yes, exactly; I'm trying to disantangle all of this mess, #7482
<efraim>I see. I'm opening a new issue tagged closure-size for freecad specifically to see about cutting through some of the duplicated package references
<efraim> https://codeberg.org/guix/guix/issues/7483
<csantosb>Ok, thank you !
<efraim>first stop, libmedfile was 113.4 MB, with ~110 MB of html documentation
<efraim>I remember the problem for some of them, cmake doesn't allow multiple outputs by default
<csantosb>But you can always add a phase to move docs afterwards, right ?
<efraim>yeah
<csantosb>You do it or do I ?
<efraim>I can do it
<efraim>I think for libmedfile I'll just remove it
<csantosb>The idea is to deliver the doc we are able to reproduce, not upstream html/pdf, so I tend to agree
<civodul>o/
<efraim>o/
<csantosb>Ok, I got to reduce freecad closure size below 6 GB by upgrading clang dependency of shiboken
<efraim>ok, I've convinced myself, I'll build the documentation and then move it to a separate output
<csantosb>Which reminds me, we need a drop-in bash formula to compute the closure size increase of upgrades
<csantosb>I'm thinking about the pull request template
<YAR_Oracool>does emacs in guix have native compile?
<civodul>yes
<civodul>i’m looking at the ‘--max-load’ argument now passed to ‘make’, and i wonder if it can lead builds to stall
<civodul>with ‘make’ not spawning any new job because the machine is heavily loaded
<civodul>i think that’d explain the max-silent-timeout expirations we occasionally see
<csantosb>`--max-load` is currently `(total-processor-count)`, correct ?
<lilyp>can someone with experience in webrtc stuff look at our webkitgtk and try to figure out what's missing?
<lilyp>I really want to have a non-Chromium browser capable of doing video calls, and Epiphany being the one I use personally on a day-to-day basis would be so nice
<csantosb>Librewolf is an option ?
<civodul>csantosb: yes
<csantosb>By the way, current ungoogled-chromium is broken for me, "MESA: warning: Support for this platform is experimental with Xe KMD, bug reports may be ignored."
<lilyp>csantosb: does librewolf have webrtc?
<lilyp>as far as I'm aware, icecat doesn't
<csantosb> https://meet.jit.si/ works for me
<lilyp>yeah, that reliably crashes on Epiphany atm
<noe>lilyp, yeah video calls work on librewolf
<lilyp>good to know, will try librewolf the next time i need some
<noe>does epiphany support capturing the microphone and camera?
<lilyp>API-wise, it should, we're building the WebRTC support after all
<lilyp>but I don't know whether it does the right thing underneath
<noe>lilyp, we build that support for webkitgtk maybe but who says epiphany has the ui for it
<noe>maybe you should test with the flatpak?
<csantosb>lilyp: FWIW, I just installed Epiphany on ArchLinux, tried https://meet.jit.si/, got a huge Oups!.
<lilyp>okay, so it's an upstream issue
<lilyp>noe: if you mean to inquire whether there is a permission UI, there is, but once you grant said permissions, the page crashes with aforementioned Oups
<noe>could reproduce too
<noe>Oups! indeed
<noe>and then if you refresh it segfaults
<lilyp>I get another Oups on refresh, but yeah, it's borked either way
<kestrelwx>o/
<kestrelwx>Does v4l-utils need Qt5? I noticed when trying OBS that it pulls both Qts because of it.
<kestrelwx>Seems to be the case.
<csantosb>Yes, v4l-utils depends on qtbase-5
<csantosb>`guix graph --path obs qtbase@5`
<kestrelwx>That's how I figured.
<csantosb>Maybe obs could use v4l-utils-minimal instead
<kestrelwx>csantosb: From a glance they have a commit adding Qt6 support in 2023, but I'm not sure. Didn't seem to break the webcam in OBS when building against the minimal version. I'll try bumping the version and switching to Qt6.
<graywolf>Hello Guix :) When adding new python package, I should use python-build-system right?
<graywolf>For some reasong pypi importer generates pyproject-build-system instead
<Rutherther>graywolf: no, use pyproject
<Rutherther>Python one is oobsolete
<graywolf>Hm, I see. In that case docs are outdated. They claim that pyproject-build-system will be deprecated eventually.
<Rutherther>Where?
<graywolf> https://guix.gnu.org/manual/devel/en/guix.html , grep for pyproject-build-system
<graywolf>> Eventually this build system will be deprecated and merged back into python-build-system, probably some time in 2024.
<graywolf>From that I assumed I should not create more work for people doing the deprecation and use python-build-system right away
<civodul>my understanding is that the initial goal was: python -> pyproject -> python
<civodul>where “pyproject” would eventually be renamed to “python”
<Rutherther>I think after python build system would not be removed it makes sense to rename pyproject
<Rutherther>But until that happens packages need to target pyproject, otherwise this goal will never be reached
<civodul>yeah
<test202020>hello, somenody know how to right way append udev for usb-modeswitch?
<ieure>test202020, Looks like you need to add usb-modeswitch-service-type to your system configuration to do that.
<test202020>ieure: i not see in manual how to do that
<ieure>test202020, "System Configuration"
<test202020>ieure: that service now have options for append new rules
<ieure>test202020, The service does you want without needing options.
<ieure>test202020, Sorry, your question is very unclear. Do you want to enable the existing usb-modeswitch udev rules? Or do you want to add a new rule to the ones included in usb-modeswitch?
<test202020>ieure: but whats to do with that? service already in system by default-servicea
<test202020>new rule, yeah
<test202020>my modem not present in rules
<ieure>test202020, The simplest is to create a new package holding the rules you want and add a new udev-rules-service which uses it.
<test202020>ieure: main file can conflict with my rule?
<ieure>test202020, I don't know, can it? If it doesn't have the rule/s for your modem, I don't see how it could be.
<lilyp>Yeah, I do kinda wish we went from pyproject → python, because the former is a mouthful, but it currently does not very much look like it
<tesseract>hello everyone. could someone paste "Configure options" under about:buildconfig in icecat, please? #icecat is dead.
<cnx>Rutherther, the migration to the pyproject build system should be complete now: https://codeberg.org/guix/guix/pulls/3878#issuecomment-12133254
<mghackerlady>I'm trying to make a guix-based distro for my office, how would I go about automating a guix install while still letting the user choose username, password, how to format their disk/
<noe>mghackerlady, is that not what the installer does?
<civodul>mghackerlady: i guess you’d want the installer to skip some questions (like desktop environment, services, etc.) and instead only ask about specific questions (user name, password), right?
<civodul>currently that requires modifications to the installer
<civodul>we should provide better support for this use case
<mghackerlady>Yeah, basically, I want it to install a custom set of packages without prompting the user for their choices
<mghackerlady>Like a debian preseed file more or less
<mghackerlady>I've dug around the installers code once to try and do this before but either I'm not that good at scheme or the installer isn't really documented enough
<mghackerlady>I reckon having a sort of preseed file equivalent wouldn't be too hard, it seems the installer is laid out in sections and the guix model really seems nice for providing a set of packages and services to be inherited
<ieure>mghackerlady, I don't think there's a clean way to do this; you'd need a different installer that works how you want.
<civodul>yeah the installer code is not documented
<mghackerlady>does anyone know who I could ask about the installer? someone had to have worked on it enough to give me an idea on how it works
<ieure>mghackerlady, I have similar desires, and have been thinking about it a bit. A thing I think should be done, if possible, is making the Guix installer its own package, and having the installer image reference it in some way. That would allow you to build images with your own version of the installer.
<ieure>ex. there'd be a guix-installer-service-type which takes an installer package which it runs at startup. Or something along those lines.
<ieure>It should be as easy to customize the installer as it is any package or service.
<ieure>IMO
<civodul>+1
<mghackerlady>How good is scheme for arbitrarily modifying text files? I can think of a few hacky solutions to my problem that involve perl scripts but I feel like that's against the spirit of the project
<mghackerlady>also +1 to that idea, it seems good enough (though we really should find someone to document the installer)
<ieure>mghackerlady, It's fine, Guix has a substitute* procedure specifically for altering files in-place during a build.
<mghackerlady>I'll have to look into that. My current plan is make a script that runs on boot, prompts the user for the things they can customize and generates a config to install from it
<ieure>mghackerlady, Yeah, that's the approach I'd take. You *could* do it with a shell script, though depending on how involved the configuration is, it could get hairy very quickly.
<civodul>mghackerlady: another solution might be to let them to a minimal installation, and then ‘guix deploy’ the “standard” setup on top of it
<ieure>The majority of the work the installer does is handled by `guix system init', that actually creates the system based on the config. So you'd need to handle the partitioning and whatnot, make sure that stuff is in the config, then init. More or less.
<ieure>mghackerlady, If you look at the manual installation instructions in the manual, basically scripting all that.
<mghackerlady>Yeah, I was going to use that as a guide. I've never actually installed guix manually, i've always used the curses installer so I think I'm gonna do that in a VM first. Sidenote, the main reason I wanted to use the default installer in the first place is the partitioning. Is there a similarly easy tool I can use for the script?
<ieure>Not that I know of.
<mghackerlady>oh that and networking. those are 2 things I absolutely dread doing from a command line, networking and disk partitioning. Guess if I script it it'd be easier haha
<nckx>Everyone! Please welcome nmeum as our newest commitfriend.
<ieure>Congrats nmeum!
<kestrelwx>Congrats!
<futurile>nmeum: congrats!
<Deltafire>is anyone successfully running guix on an intel macbook?
<Deltafire>is anyone successfully running guix? ;)?
<csantosb>I have to admit that I completely failed in my last attempt, #7506
<nmeum>futurile ieure nckx: thank you for the warm welcome! :)
<ieure>Deltafire, I got it running on an old 11" MacBook Air the other week, but hit problem when I tried reconfiguring. Out of space to set UEFI variables or something like that.
<ieure>Deltafire, Also at least on machines of that vintage, they had nVidia GPUs. It's a Core 2 Duo without integrated graphics. I also didn't get that working right.
<ieure>nVidia is the worst.
<snamellit>I installed on a macbook 12 early 2016 last week. Works fine. I wrote my experiences on my blog.
<snamellit>the flatpak package installs a script in .guix-home/profile/etc/profile.d/flatpak.sh. I would expect this to be sourced from .guix-home/profile/etc/profile file. But it isn't. Am I supposed to source the files in .g/p/e/p.d/ myself in one of my startup scripts?
<snamellit>btw: install log on the macbook 12 : https://www.snamellit.com/posts/20260320t110150-install-guix-on-macbook-12-guix-linux-sysadmin/
<Rutherther>snamellit: currently yes, you do have to do it yourself.
<snamellit>Ok, I added a 1-liner to my .bashrc as I start niri from the cli. I'll figure something out when starting from shepherd job.
<graywolf>How can I, on foreign system, switch to run guix-daemon under root?
<Rutherther>graywolf: you will need to create the build groups and change the systemd service to run as root and with the build groups argument
<graywolf>hm, was hoping for some switch :/ I guess I will be lazy and just copy the not-building packages from my laptop and try to follow your advice on Monday
<graywolf>Thanks :)
<Rutherther>graywolf: also if you are already running it, you will need to tackle the ownerships, it's in the manual I think, although it documents how to switch from root to non-root, but it's pretty much the same the other way
<Rutherther>graywolf: just one change, the /gnu/store is owned by root:guixbuild - the group is important
<graywolf>Are all packages supposed to build on non-root daemon (this is a bug, I should report it) or is it by definition limited, and relying on substitues is expected?
<Rutherther>yes, it is a bug
<Deltafire>snamellit: i will check out your blog post :) I think last time i tried some form on linux on a macbook, the keyboard and touchpad wouldn't work.. but that was a while ago and I can't remember whether it was on my current macbook or a previous one
<Deltafire>i did have ubuntu working on the old clamshell style ones
<civodul>graywolf: please do report the bug
<civodul>re migrating to unprivileged on a foreign distro, see https://guix.gnu.org/manual/devel/en/html_node/Build-Environment-Setup.html#Migrating-to-the-Unprivileged-Daemon