IRC channel logs
2025-12-09.log
back to list of logs
<ieure>I've never used Nix, but have seen several people ask about flakes. <icy-thou`>Because what I do is `nixos-rebuild switch --sudo --flake .#(hostname) --impure` and I define what system configurations can be fetched in the flake.nix, which then searchs for the appropriate default.nix in the host dir and then tries to stitch together my config <ieure>I think I get the drift, though again, I have never once in my life used Nix in any capacity whatsoever. <ieure>icy-thou`, What I do on my stuff is factor all the common stuff into transformation functions which take an operating-system or home-environment and return one with specific changes made. Then write a config with only the machine-specific stuff (hostname and disks), and run it through the transforms. <ieure>icy-thou`, Most of it is in that repo. <ieure>But I can share a lightly redacted system config. <icy-thou`>your config is perhaps what I had in mind. I might replicate that setup 🤔 <icy-thou`>And how do you invoke the rebuild system command ? <ieure>`cd ~/projects/dotfiles; sudo guix system reconfigure system/$(hostname).scm' <dckc>anybody have experience using guix to partition disks? <ieure>I have a bash alias that does it, so I really only type "gxrc," but that's what it's doing. <ieure>This came up on guix-devel in the last week. <icy-thou`>Dammit, this time I am making the effort to migrate even though many packages are missing <icy-thou`>I might just install them from distrobox or something <ieure>Uh, clarifying, the subject of having something like it came up. <ieure>There is not an actual thing which does it. <ieure>But all the pieces to do it already exist in Guix, just not put together in that particular way. <icy-thou`>One thing that I find interesting is the absence of an auto-update bot (IIRC that is not a thing ) <icy-thou`>Some package updates are not as crazy and could be automated, I think <ieure>It's not, it's definitely something people have talked about wanting to have. <ieure>But the move to Codeberg was a necessary prerequisite for anything like that, you can't auto-apply jack when it's patches on a mailing list. <icy-thou`>also, is there a plan to rewrite the nix daemon bit into scheme? <ieure>Yes, a Scheme rewrite of the daemon is also a thing people want / may have been some progress for that. <icy-thou`>Is there a roadmap that we can follow, or something akin to it? <icy-thou`>I read that article, but that was 2 years ago so I thought I should ask about the situation today <thalber>hi, i'm a nixos user looking to switch distros, need to check a few things before i start installing stuff. <thalber>1) is there a noticeable difference between nix and guix ito helper command performance? i don't mean system rebuilds (since those being heavy is probably unavoidable), i mean things like local package search (nix search knocks out my netbook by eating all the ram) <thalber>2) is guix completely disconnected from nix development-wise? i assumed yes since it's relatively old but want to double-check <thalber>3) is there any difference in how ephemeral shells and shelldirs work / is the situation with running fhs binaries as bad as on nixos? <FuncProgLinux>thalber: I haven't used nixOS but I'm beggining to use Nix inside Guix. For point 1. I've seen the nix search is a bit faster but haven't looked at RAM usage. 2. There are engineering differences in Guix AFAIK, even at the packaging level some things are simpler or more complex depending on your use-case. 3. The guix shell command is better crafter IMHO, and the fhs-binaries situation is mostly the same, with the exception that you cannot add fhs <FuncProgLinux>...with the exception that you cannot add fhs capabilities to package definitions. But you have "container" shells with FHS to wrap programs if you really need those. <thalber>container shells sound equivalent, and i'm always hoping not to write packages anyways <thalber>also to clarify, by point 2 i meant "does the guix project pull anything from nix upstream" <meaty>are binaries in guix packages supposed to have their debug symbols by default? or are they stripped <meaty>nvm, found the info page for it <ieure>meaty, I believe they're stripped by default. <basicnpc>Should I just learn to read to source code from now on? <icy-thou`>basicnpc: learning to read the source code is never wrong! <icy-thou`>You can also help make better docs with that skill ;) <basicnpc>I think so. Just want to confirm that I didn't miss some corners in the manual. <vagrantc>also looks like you're looking at the manual for guix 1.4, released ~2 years ago ... the newer manual *might* have more <vagrantc>it has been a source of confusion for ages ... <vagrantc>well, it currently shows both, as anyone installing from 1.4.0 might need the corresponding manual, and anyone using guix pull will need the latest manual <vagrantc>i think it changed from "devel" -> "latest" to give the clue <vagrantc>folks are also actively working on a release, which will help a lot if releases start happening more regularly eagain <basicnpc>How many active developers does guix currently have? <vagrantc>i think under 50 committers, and a handful of other regular contributors <vagrantc>"git log | grep Author" ought to give a pretty good idea :) <basicnpc>Sounds like a good number. Hopefully I can be useful one day too. <vagrantc>package updates are often a pretty good place to start ... usually pretty straightforward <basicnpc>I see. Usually you just have to change some parameters.. <vagrantc>and then learn the workflows around testing those changes <vagrantc>easiest for packages which are "leaf" packages, e.g. packages not used to build anything else <basicnpc>I'd like to have a working yazi to start with xD <basicnpc>also.. to get openssh sorted out so that I can develop on my main machine with emacs setting here.. <basicnpc>I think I had a config that allows people on the same LAN ssh into my root, but I want to allow it only for my current user (nonroot). <basicnpc>Any pointers would be appreciated! I need to leave a bit, but I will read log. Thank you vagrantc . <vagrantc>i've onyl set up ssh to allow anyone with valid login credentials <vagrantc>about to call it a day myself, but good luck! :) <bdunahu>If a modified or added package declaration builds without error, then in what cases could it still break guix pull? <untrusem>sneek: later tell edrx I will email or your msg you on irc, I have an exam today <basicnpc>Hm! I found a bug! pastebin.com/HYf1uLe1 <basicnpc>guix asked me to report it. But last time I touched this guix machine was ~1 year ago. Should I still report it? I was just trying to do `guix pull`. Had to leave in between so I stop it and `fg` to bring it back.. <basicnpc>Also, how should I proceed? I couldn't even guix pull.. <cbaines>I'm going to reboot guix-hetzner-2 which serves many of the websites, hopefully it won't be gone for long