4 ms·
A `flake.nix` file provides a consistent entrypoint to your codebase, which is nice when using Nix generally. For NixOS specifically, you can point `nixos-rebui
by rgoulter 4y ago
A `flake.nix` file provides a consistent entrypoint to your codebase, which is nice when using Nix generally. For NixOS specifically, you can point `nixos-rebuild` to a flake & have it switch config.
I also find nix flakes have a nicer UX to use. To use a channel, I have to run `nix-channel --add`. But, with flakes, I only have to declare it as an input.