this post was submitted on 08 Jun 2023
97 points (98.0% liked)

Asklemmy

43818 readers
1707 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago (3 children)

I use NixOS. The nice thing about NixOS is that you can set the state of most of your computer in a file or files that can be tracked on git, and any updates can be rolled back.

[โ€“] [email protected] 0 points 1 year ago (2 children)

Can you do it with debian / ubuntu?

[โ€“] [email protected] 1 points 1 year ago

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.

load more comments (1 replies)
load more comments (1 replies)