My NixOS/nix-darwin/home-manager config based on devos
In the project root:
sudo nixos-rebuild switch --flake ".#<hostname>"
On non-NixOS, use the Determinate nix
installer:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
Enable/disable auto-snapshot with the following command:
sudo zfs set com.sun:auto-snapshot=true <pool>/<fs>