• 0 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: June 8th, 2023

help-circle



  • Sort of. Nix can be thought of as your package manager + ansible + snapshotting tool + pyenv + docker tool. By this I mean a flake can set up an isolated dev environment that isn’t exposed. You can switch between profiles (and with NixOS you can boot into a previous generations). You can define and spawn a docker or qemu instance; especially useful launching an instance that mirrors your config.

    Cool part though is you can use nix outside of NixOS so easy enough to start moving dotfiles to home-manager, or use it for grabbing packages. For example, on my Ubuntu machine it sets up my git, neovim (it also fetches plugins for nvim), fish config and installs apps like yubioath and qtcreator that I don’t want to manually fetch. Also I use “nix run” almost daily for running apps without “installing” them for those one off cases.

    Probably wouldn’t recommend it for someone who just wants a “fire and forget” installed OS. But, on the other hand, I installed it on my wifes laptop and she can’t tell the difference, and I get an easy job managing it.

    Sorry if that was a bit long. Been using NixOS for about 6 months now and I’m finding it actually exciting. Can recommend watching Matthew Croughan’s SCaLE 2023 video for an interesting demo.