Replies: 4 comments
-
I don't have much first-hand experience with nix (just with CI for umockdev). I suppose it would still be useful as a "read-only" monitoring tool, so that you can debug why your machine is acting up (such as, failed services, running out of RAM/disk, biggest memory consumers, reading journal, etc.) You may not necessarily be able to change things due to a read-only OS. But I'd still expect e.g. the systemd D-Bus service to work, so that you can stop and start units and such? But at this point it's just a very high-level gut feeling. So far I've mostly seen nix as a container base, but apparently you can even run a desktop with it. I think someone needs to try and build/run it and see what goes wrong 😁 |
Beta Was this translation helpful? Give feedback.
-
I haven’t used Cockpit at all, but I’d be interested to see it working on NixOS too. Based on the discussion linked above, it looks like some other NixOS users have made progress. |
Beta Was this translation helpful? Give feedback.
-
There is now a NixOS module for Cockpit: |
Beta Was this translation helpful? Give feedback.
-
Amazing! Thanks for providing the NixOS module for Cockpit! I wanted to access Cockpit from another machine (and not just localhost) within the network. As such I've the following configuration:
Everything works well. That said, when I try accessing Cockpit from my laptop on the same network, I can't enable admin controls. It throws the following error: I'm really new to Nix so sorry if this is a basic problem! I suspect this might be due to different paths on NixOS. Does anyone know if it’s possible to use nix-ld to resolve this issue? Would love to hear if anyone has managed to fix this. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
Nixos is a distribution famed for defining the whole system state with its system derivation / config file.
Things like which systemd services, containers and VMs should be running, which mountpoints and users to have and so on.
If i were to setup cockpit on nixos, would it provide value still?
Beta Was this translation helpful? Give feedback.
All reactions