Hacker News new | ask | show | jobs
by soupbowl 1101 days ago
I find the default way to work with nixos to be a lot easier to use compared to flakes. I am sure flakes are great and all but as with everything nix you can't just integrate it into your normal flow, you have to jump all in with it. I don't think that is a positive.
3 comments

It is possible to use flakes on systems otherwise managed with channels. Just enable the "nix-command flakes" experimental features[1] and stuff like "nix run" will work.

[1]: https://nixos.wiki/wiki/Flakes section "Enable Flakes".

> I am sure flakes are great and all but as with everything nix you can't just integrate it into your normal flow, you have to jump all in with it.

AFAIR, the only irreversible impact is switching from `nix-env --install` to `nix profile install`.

With repositories, you can add a flake.nix, and still use nix-build or nix-shell however you did before. e.g. You can have the flake.nix import the default.nix or shell.nix code.

Pretty much, still not sold on flakes. My nixpkgs is also git repo not channel