Post

au contraire my take on nixos is that I do understand it and therefore think it is objectively bad

cafkafk@cafkafk.bsky.social

A lot of peoples take on NixOS is and I quote "I don't understand this therefore it is objectively bad", which some people somehow think is a good take that we have to take seriously

actually okay to make a serious take: probably my most steaming "nixos is bad" take isn't absolute it's that people way overuse nixpkgs service modules and treat nixos like an orchestrator when it rly rly rly isn't

I think that is undeniably true, it’s really bad But also like. There is no reason to run most things as systemd services when container orchestration exists

depends on what you mean by container orchestration docker compose is evil, and I think you can get very far with systemd-maxxing (depending on what you're hosting). I've never actually used kubernetes so I can't speak to that

nixos ironically provides a pretty decent way to make compose less awful lol

0 reposts5 likes

that’s real sysadmin work imo but the most fucked up thing here is using hibernate

it _almost_ does (the merit of 1:1 wrapping systemd config with nix equivalents is up for debate, but at least nix lets you use variables in them), but then puts all your config in a massive fixed point with fake namespaces that takes 10s to evaluate

the main thing missing with just writing units yourself is that the deployment and maintenance strategy is just “use ansible…I guess”

you're talking to the guy who thinks filesystems were a mistake agreed that it's annoying, but it's also not really a design flaw on systemd's part

K3s is pretty nice and works well enough it NixOS. Systemd is fine for personal things that’ll never need to scale imo (jellyfin, transmission, etc)

one thing that makes k3s rly well suited for this is that it allows you to separate platform and app layers, which means you can rot on nixos stable without being a billion releases behind on apps