60
It’s that time of year, time to blow up the home server!
(sh.itjust.works)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
No experience with NASty, but:
Had a server die on me about a year ago and wanted more Infra as Code. Tried Fedora CoreOS first, but the cycle was constantly creating a new USB bootable, it was just a bad fit for me.
Switched to NixOS and definitely still not an expert, but it's simple enough that 4 machines are running it. I really enjoy it. Already migrated a critical machine, where I basically used a second machine for A/B testing, to ensure minimal downtime and rollback possibility.
My deploy story is still kinda jank. I just looked at what worked and didn't read too much about the internals. Using deploy-rs and falling back to nixos-anywhere when necessary.
Some new services were really basically as easy as adding
services.example.enabled = true;and deploying.Hope it helps an good luck!
Do you think the lack of apparmor or selinux is a problem for nixOS?
Personally didn't worry about it. Some issues in CoreOS with SELinux left a sour taste; tried to get my reverse proxy running, but a policy was missing and I either had to compile custom policies or turn off enforcement.
In NixOS, I was careful about checking file permission setup, service users and systemd service hardening options for the services I'm running. Defaults on what I installed seemed pretty good hardening, better than what I'd do myself.
I think it's easy to overlook as a first time user that everything in the nix-store is readable to all, so no secrets in there, anywhere. I ended up using sops-nix.