I'm at the point in my #NixOS adventures that the language is starting to frustrate me enough to reconsider using #Guix instead, and accept that I'll have to drop or rewrite all the little things I built upon systemd.
Conversation
Notices
-
Gergely Nagy π (algernon@trunk.mad-scientist.club)'s status on Wednesday, 22-Jun-2022 00:15:01 UTC Gergely Nagy π - Santa Claes πΈπͺππ°π likes this.
-
Gergely Nagy π (algernon@trunk.mad-scientist.club)'s status on Wednesday, 22-Jun-2022 00:16:00 UTC Gergely Nagy π Another big advantage of #Guix: the documentation is just so much easier to understand and follow. It's quite newbie friendly.
Santa Claes πΈπͺππ°π likes this. -
Gergely Nagy π (algernon@trunk.mad-scientist.club)'s status on Wednesday, 22-Jun-2022 00:23:27 UTC Gergely Nagy π Okay, looks like stdout and stderr can be redirected to a file, that's great. I wonder if the log file can be a pipe? Almost like /dev/log, just not terrible.
-
Gergely Nagy π (algernon@trunk.mad-scientist.club)'s status on Wednesday, 22-Jun-2022 00:23:27 UTC Gergely Nagy π According to the shepherd NEWS file, if no log file is specified, then logs will get routed to syslog, and get a timestamp. That means that I can just run a custom syslogd, and be done with it, with no change to services, no big hacks or anything.
Not perfect, but good enough.
Santa Claes πΈπͺππ°π likes this. -
Gergely Nagy π (algernon@trunk.mad-scientist.club)'s status on Wednesday, 22-Jun-2022 00:23:28 UTC Gergely Nagy π One of the bigger problems with that, is that I rely on the systemd Journal a lot, including the fact that services started will have their stdout available in the journal.
If I abandon systemd, I'll have to come up with something similar for shepherd (if it doesn't already have something like that - I haven't finished reading the manual yet), because just logging to stdout is mighty convenient. I'm not parting with that luxury.
-
Mikhail Kirillov (w96k@fosstodon.org)'s status on Wednesday, 22-Jun-2022 09:11:18 UTC Mikhail Kirillov @algernon I'm right now using Nixos after 3 years of using Guix.. And It is much easier for me now to understand nix concepts, cause guix docs are really friendly. And also I can jump to definition in Emacs which helps to understand what's going on a little.
Santa Claes πΈπͺππ°π likes this.