this post was submitted on 16 Nov 2023
0 points (50.0% liked)

Nix

3 readers
1 users here now

founded 1 year ago
MODERATORS
 

Hello,

i cant decide whats better: NixOs with his Configuration File and Snapshots of the complete System or other Linux Distro with ZFS.

Can you say whats make more sence on day2day use?

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 10 months ago

NixOS does not do snapshots of the complete system.

The "rollbacks" that are available built-in apply only to changes applied by the configuration.nix.

[–] [email protected] 1 points 10 months ago (1 children)

You can run NixOS on ZFS and get the best of both worlds.

This is nice because /nix is reproducible, so you can make a ZFS filesystem for /nix that you don't snapshot (or at least, don't retain old snapshots). Since so much lives in /nix, the rest of your root filesystem is pretty light, and you can snapshot that for easy backups.

For booting, selecting a NixOS configuration to boot is smoother than selecting a ZFS snapshot. Something like systemd-boot is preferable over something like ZFSBootMenu.

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

Is there any point in snapshots with Nixos?