3 ms·
Tried it (rpi4), working. Even managed to encrypt the SD. Can't get nixops to work from my x86_64 notebook to deploy on the rpi though, I gave up on that. Nix
by Luker88 6y ago
Tried it (rpi4), working.
Even managed to encrypt the SD.
Can't get nixops to work from my x86_64 notebook to deploy on the rpi though, I gave up on that.
Nixos is really nice, But I find that the declarative conf still has a lot to iron out.
Currently I only use it as a base system with declarative podman containers for pihole, freeipa (manually docker-built from the fedora image), postgres, nextcloud. Only nginx installed via nixos conf on the base system.
I use podman containers since I could not find a way to have user-namespaced containers, or even just containers that don't share the whole /nix, which I find as a huge security risk. I really don't care about disk space. Duplicate everything but let me isolate those containers as much as possible. Podman containers give me read-only filesystem, too. Maybe nixops might have helped, but it would have prevented me from going read-only filesystem
I tried using the declarative part of nixos to configure nginx, but I ended up dumping all the nginx conf on the single "extra" conf variable since proper declarative nginx vhosting with more than one location just does not let you do what you want (and is broken: do NOT reader my locations!!).
Manual dump of the conf also for the cni network management of podman.
wpa_supplicant most of the times starts too early and I didn't manage to make it run later, crashed. I am using ethernet without problems.
So for me Big Kudos to the Nix(,Os,Ops) teams for the work done, I believe that is the future we should work towards. But we are still a far way off on many things. Documentation is also really scarce (and at rare times wrong), which increase the already steep learning curve.
So sorry for the 'bad' review, but know that I still do not lose faith and will keep learning and trying. The basic idea is really that good for a sysadmin like me.
- aidenn0 6y agoI talked in the nixos aarch64 channel and cross-compiling is very hit-or-miss which is why nixops won't deploy well from an x86_64 machine. You can run a qemu aarch64 VM to delpoy if you need to.
- lloeki 6y agoI tried to love aarch64 NixOS very much for my pi 3 but, latest kernel is broken and doesn’t boot at all, previous (5.4) needs a firmware adjustment otherwise has HDMI issues, and 4.19 has no HDMI issue but is lacking on hardware support (no cpufreq scaling, sound output broken). This means the install process is painful as it requires a serial tty or typing blind commands to enable ssh. Also, once you get it running, if you ever screw up, booting the previous gen requires editing the bootloader files as it seems uboot is unable to initialise some usb keyboards properly (although they are listed). And finally, there seems to be no X support. I don’t want to sound harsh, I know it’s tough work, so I’m definitely extending my thanks to anyone working on that port.
- aidenn0 6y agoThere is definitely X support on Aarch64 nixos. I've run X on an Odroid C2 and a rockpro64. It does, however require putting the right drivers in your config, as the default is only sane on the pc platform
- lloeki 6y agoAh, when I tried to install it, nix loudly warned though a terminal message that it was entirely unsupported and bailed out. At that point I had enough issues that I bailed out at it's not practical yet for my pet projects.