this post was submitted on 11 Nov 2023
1032 points (100.0% liked)
linuxmemes
21189 readers
668 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
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.
Yeah, depending on your definition of reinstall you either reinstall NixOS never or on every boot. There's no in-between.
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.