this post was submitted on 11 Nov 2023
1015 points (97.3% liked)

linuxmemes

20757 readers
567 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 10 months ago* (last edited 10 months ago) (3 children)

Why would you reinstall NixOS, like, ever?

Heck even moving it to another partition isn't really a re-install as it'll happily create the exact 1:1 same system based on nothing but the configuration file, change nothing but the id of the root partition (you'll have to move over /home manually, though).

And if you mess up your configuration either roll back instantly, or fix it in situ in case you already gc'ed the old stuff. It's practically impossible to get it into a non-booting state without literally ripping out the disk it's installed on (or, well, Windows messing up the bootloader or something). Even if you run unstable on the whole system every single commit on that branch is tested to not break boot and rollback.

Oh just one thing: Don't skimp on the size of your EFI partition. 100M are definitely borderline when you have both NixOS and Windows booting from it, those kernels and initrds have gotten quite large over the years and you'll need to be able to fit, bare minimum, two of both.

[–] [email protected] 6 points 10 months ago

Yeah, depending on your definition of reinstall you either reinstall NixOS never or on every boot. There's no in-between.

[–] LucidDaemon 2 points 10 months ago

Just moved from Endeavor to NixOS. It's a huge learning curve and takes a while to build your config or flakes, but damn does it feels nice to just roll back if you mess up over re-installing.