nixos/usage.md
2024-09-29 19:35:02 -04:00

289 B

Usage

Building NixOS config manually:

sudo nixos-rebuild --flake .#hostname switch

Upgrading the system implies updating the inputs one at a time:

sudo nix flake lock --update-input <input>

or all of them together:

nix flake update --commit-lock-file