4 ms·
I'm on NixOS and QEMU is well integrated in Nix. You can write a system configuration, generate a QEMU VM and run it. Also all NixOS automatic tests[1] are run
by rnhmjoj 8y ago
I'm on NixOS and QEMU is well integrated in Nix.
You can write a system configuration, generate a QEMU VM and run it. Also all NixOS automatic tests[1] are running in QEMU VMs that are generated from a Nix configuration.
The most beautiful thing is that you can create multiple VMs and run them simultaneously to create a virtual network. For example you can test a client-server application by running the client and the server on two hosts or test some network configuration[2].
[1]: https://nixos.org/nixos/manual/index.html#sec-nixos-tests https://nixos.org/nixos/manual/index.html#sec-nixos-tests
[2]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/nat.nix#L67 https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/nat...
- MuffinFlavored 8y agoYou use NixOS as your daily operating system? What’s that like?
- callahad 8y agoI've been using it on my personal laptop for the past two months. There are a lot of rough edges to the desktop experience, but it generally works. And while that's faint praise, I have no current plans to switch back to Fedora (3 years) or Debian (12 years prior to that). It's comforting to know that my entire base system configuration is declarative, and it's pleasant to not worry about libraries conflicting or unnecessary packages lingering around. Immediate, ephemeral access to programs via, e.g., `nix-shell -p pdftk` is extremely convenient: they're only available in that shell session, and they (along with their dependencies) get cleaned up the next time you run `nix-collect-garbage`. Super handy.
- MuffinFlavored 8y agoWhat do you use as a web browser? edit: nevermind, I didn't realize it was a Linux distro.
- pknopf 8y agoWhat do you think about Darch? https://godarch.com/ https://godarch.com/