Post AhO4FKEifM7jeqMbbc by picnoir@social.alternativebit.fr
(DIR) More posts by picnoir@social.alternativebit.fr
(DIR) Post #AhO1rB84fuF4YPc6YC by picnoir@social.alternativebit.fr
2024-04-29T16:56:30.610455Z
0 likes, 0 repeats
Guix day 1:I spent most of the day getting comfortable with Guile and the basics of Guix services.Followed the "perfect hacking setup" manual section (I'm lucky, I'm using Emacs). Geiser is okay-ish, but fails a lot of times (can't jump to definition in g-expressions for instance). Overall, the builtin yasnippets, and paredit are good and useful, geiser fails to jump to definition too many times to be really useful.I have a fully functional sway/pipewire/xdg-desktop-portal setup. Costed me quite some headaches.Guix home is super nice and definitely more integrated than home-manager.I migrated ~60% of my laptop NixOS configuration. The remaining 40% are going to be pretty painful to migrate, Guix is currently lacking some features to do so (writers, secret management).I packaged my first package (power-profiles-daemon) and wrote a service for that.I really like the Guix service system. A lot more than the NixOS module system.Tomorrow, I'll have to face my nemesis: mailing-list-powered patches. I'm 6 commits ahead of my Guix channel, it's time to reduce the stack and start cleaning/upstreaming the changes.I'm not in love with Guile yet. Part of it probably comes from my inexperience, using it is still painful and slows me down a lot.I hit a massive roadblock at some point: the guile error message was lying to me. I had a module with an error in it, and instead of throwing an error message, Guile was lying to me and telling me I was not loading this module, and giving me a hint explaining me how to load the module. But, I was already loading the module!! Gazlighted by the interpreter :D Took me a good 2h before realizing the interpreter was lying to me. I need to find a minimal reproducer to send to the email list.Massive kudos to @ekaitz_zarraga who helped me in the process :)
(DIR) Post #AhO2KSrXp03Tx1qXuS by ekaitz_zarraga@mastodon.social
2024-04-29T16:58:12Z
1 likes, 0 repeats
@picnoir 😍
(DIR) Post #AhO4AIaDNxvv5A1MnI by abcdw@fosstodon.org
2024-04-29T17:09:17Z
1 likes, 0 repeats
@picnoir @ekaitz_zarraga Take a look athttps://git.sr.ht/~abcdw/emacs-arei/https://git.sr.ht/~abcdw/rde/tree/309db6a7/examples/Makefile#L22The version in guix is a bit behind, but probably we will make a minor release and I'll update it this week.
(DIR) Post #AhO4FKEifM7jeqMbbc by picnoir@social.alternativebit.fr
2024-04-29T17:22:40.879830Z
0 likes, 0 repeats
@abcdw @ekaitz_zarraga Nice! I'll give it a try tomorrow. Thanks!
(DIR) Post #AhO4G6nS7WQaGSz1PM by phaer@fosstodon.org
2024-04-29T17:10:44Z
1 likes, 0 repeats
@picnoir looking forward to learn more about - and from - your experiences with guix(SD) and service Management there. What did you like about them compared to nixos?
(DIR) Post #AhO4LHnuceWnqqfQBs by Profpatsch@mastodon.xyz
2024-04-29T17:10:10Z
1 likes, 0 repeats
@picnoir @ekaitz_zarraga I might follow, but I'm somewhat certain that vscode does not work 🙈
(DIR) Post #AhO4LwZp1wcQJ1OFQ8 by picnoir@social.alternativebit.fr
2024-04-29T17:24:38.516087Z
0 likes, 0 repeats
@phaer Too early to tell tbh. For now, I'm in love with the Guix approach for the services.I'm taking a lot of notes, I plan to go all-in for at least a couple of weeks (writing this from Guix) and write a "Guix from a NixOS geek perspective" blog post.
(DIR) Post #AhO5X162fO2RSlIwYy by ekaitz_zarraga@mastodon.social
2024-04-29T17:10:48Z
1 likes, 0 repeats
@Profpatsch @picnoir I do all in NeoVim, almost without plugins.I wrote some help for the parenthesis but you don't even need that.
(DIR) Post #AhO5X2xFl2CFE5Cx8q by ekaitz_zarraga@mastodon.social
2024-04-29T17:11:14Z
1 likes, 0 repeats
@Profpatsch @picnoir Just jump, i'm down there to catch you if you fall
(DIR) Post #AhO5lzlbtMgrgPtFC4 by picnoir@social.alternativebit.fr
2024-04-29T17:40:36.846374Z
0 likes, 0 repeats
@ekaitz_zarraga @Profpatsch I gave up on minimalism wrt. editors.Adopting LSPs/more automation has been a true force multiplier for me. Sure, you don't need them, a plain editor and ripgrep are good enough to move around a codebase.However, a nice jump-to-definition and show-documentation-for-symbol-under-the-cursor are true game-changers. It makes everything more self-discoverable and reduce the mental load. It helps me focus on what really matters.
(DIR) Post #AhOEn3VoLtbfAx53rM by nlupo@xno.social
2024-04-29T17:26:10Z
1 likes, 0 repeats
@picnoir @ekaitz_zarraga Guix looks interesting.
(DIR) Post #AhOEs4uMab2Kx9xYo4 by ekaitz_zarraga@mastodon.social
2024-04-29T18:57:11Z
1 likes, 0 repeats
@picnoir @Profpatsch I use ctags and stuff like that too.
(DIR) Post #AhP6PHkDBFKLtIvlR2 by mrak0@mastodon.social
2024-04-29T22:34:35Z
1 likes, 0 repeats
@picnoir @ekaitz_zarragaFor secrets management:https://git.sr.ht/~fishinthecalculator/sops-guixAs for writers, I saw something similar in the guix workflow language:https://guixwl.org/manual/html_node/Code-Snippets.html#Code-Snippetshttps://git.savannah.gnu.org/cgit/gwl.git/tree/gwl/sugar/reader.scm#n111
(DIR) Post #AhP6TVW5uvi7lOLBo0 by picnoir@social.alternativebit.fr
2024-04-30T05:23:18.610438Z
0 likes, 0 repeats
@mrak0 @ekaitz_zarraga Nice! That's exactly what I was looking for, thanks a lot!Cc @mic92 : sops-guix is actually already a thing.
(DIR) Post #AhP7gvbmJueeP6xkrA by mic92@toot.matereal.eu
2024-04-30T05:36:06Z
1 likes, 0 repeats
@picnoir now we also need a sops-spackos.
(DIR) Post #AhQ40pJrCtiY22lzk0 by abcdw@fosstodon.org
2024-04-30T15:53:20Z
1 likes, 0 repeats
@picnoir @ekaitz_zarraga We sneakily released 0.9.4, it have most of the latest features, including goto definition, eldoc, completion, friendly buffers for project and so on.It's on guix master, BTW :)
(DIR) Post #AhTG9kZsuHKpCW3dc8 by picnoir@social.alternativebit.fr
2024-05-02T05:30:25.798877Z
0 likes, 1 repeats
Guix all-in experiment, day 2/3I finally feel home again. I migrated all the parts that matter to me to be comfortable on a computer.Turns out power-profiles-daemon was already in the packageset. Without any service to run it however. I was about to send mine when I realized a patch was sitting on debbugs[1] all this time.Gnome and KDE are packaged, it's really strange to see ppd, their default power management backend missing. I guess most Guix users are not using laptops or have massive batteries in them 😛I extracted my Sway system config in a proper module. Hopefully it'll save some people from doing everything from scratch. I still have an issue with the xdg-desktop-portal config: I need to inject the wayland-related variables to the dbus env to make sure dbus spins up everything with them. I did not figure out to do that yet.I finally installed Nix on Guix. It's half-cheating, but it allows me to work on fun project with my online friends, it's a good kind of cheating 😀My experiment notes are getting pretty long. I guess I'll stop live-tooting this and instead write a proper blog post at the end of the two-weeks experiment.[1] https://issues.guix.gnu.org/70460[2] https://git.alternativebit.fr/picnoir/guix-config/src/branch/master/modules/services/desktop/sway.scm
(DIR) Post #Ahfmx1sj7SA0L9PmwC by civodul@toot.aquilenet.fr
2024-05-07T21:26:35Z
1 likes, 0 repeats
@picnoir Wo0t, great to see you experiment with Guix! :-)I’m sure you’ll have a lot of insight from the perspective someone familiar with NixOS.
(DIR) Post #Ahfn0KhpaUFhaitTuq by filip@functional.cafe
2024-05-07T20:15:31Z
1 likes, 0 repeats
@picnoir Does lack of toots indicate that the proper blog post is coming?
(DIR) Post #AhfnAA3A3qAhREYcDI by picnoir@social.alternativebit.fr
2024-05-08T06:36:56.991911Z
0 likes, 0 repeats
@filip Indeed :) The experiment ends on next Monday.I'm daily driving Guix without any hassle now. I actually touched the setup very little: I had some other things to do.There's a couple of more things I'd like to do before writing the blog post in Guix land.Expect the post to be ready mid-next week :)