Any ideas what to add to my list of NixOS things to do?

2 months ago by WereCat to c/linux

edit:

I've updated & expanded the list (finished for today)

load all comments
ellen 12 points 2 months ago

Maybe look into something like impermanence and having root on tmpfs. It’s what made NixOS really “click” for me.

path: 0 25106615, hotness: undefined, score: 12, children: 6
WereCat 4 points 2 months ago

This looks quite interesting but I honestly can't think of any use case where I would find this useful for me. Also this seems like something best to try in VM first. I'll keep this one in a bookmark though, may become useful later. Thanks!

path: 0 25106615 25106833, hotness: undefined, score: 4, children: 3
lavember 9 points 2 months ago

impermanence forces you to be intentional with your system, where files are persisted, which is great for: hygiene like feeling like the computer was freshly formatted on each boot; using NixOS as intended by keeping things declarative (in other words, "nixmaxxing"); security also, to a lesser extent tbh, but it'd be protecting against malware nesting at impermanent paths

path: 0 25106615 25106833 25107148, hotness: undefined, score: 9, children: 2
Courantdair 2 points 2 months ago

That's what I like about OpenWrt, every update wipes everything but what's explicitly configured. And the first update that doesn't break anything is a rela satisfaction, meaning your whole configuration is contained in a few files listed somewhere

path: 0 25106615 25108808, hotness: undefined, score: 2, children: 0
sudoer777 1 point 2 months ago

I tried root on tmpfs with Guix once and I kept running into RAM limitations, especially when building large programs. For NixOS, I use BTRFS and their script to clear the root filesystem on reboot (although I had to do some extra steps since I had systemd enabled for initrd)

path: 0 25106615 25115627, hotness: undefined, score: 1, children: 0
linux
linux

@lemmy.ml

login for more options
68060
9443
5184

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.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

go to feed...