Questions tagged [nixos]

For questions about NixOS, a GNU/Linux distribution focused reliability by extensive use of configuration management.

5 questions
7
votes
1 answer

Are NixOS and GuixSD the incoming Linux distros of DevOps?

The main advantage of these distros is the declarative approach which allows for setup to be done in the same way as you would configure a Vagrantfile or Dockerfile. In the way that Docker replaced/is replacing VMs for reproducibility, is there a…
warsong
  • 171
  • 3
4
votes
1 answer

How should I update a single input to a Nix flake?

I have a Nix flake with several inputs whose URLs are remote git repositories. I want to update one input in flake.lock, but not the others; in particular, I want to avoid repinning nixpkgs. When I run nix flake update, all inputs are updated. This…
Corbin
  • 143
  • 5
3
votes
1 answer

Configuration Management Tools and Rollbacks / Approaching Immutable Infrastructure

I am interested in whether there are any configuration management tools out there that make it easy to roll back. So far it seems that with Ansible, Chef, and Puppet you have to write the roll back tasks/recipes/whatever to get back to your previous…
David West
  • 1,533
  • 3
  • 18
  • 25
3
votes
1 answer

Are distributed distributions like NixOS able to replace docker in terms of autoscaling?

Autoscaling means that the number of instances increases if the load intensifies. Docker is used in for example Kubernetes in order to autoscale. Are distributed distributions like NixOS suitable candidates for autoscaling as well?
030
  • 13,383
  • 17
  • 76
  • 178
0
votes
0 answers

How to recover NixOS configuration

I am new to Nix and now face the problem of have a functioning NixOS system version whose configuration.nix has been lost. The system.copySystemConfiguration setting had not been specified and apparently does not default to true for some reason.…
George
  • 101
  • 1