NixOS and Home-Manager configuration.
- Build:
nixos-rebuild build --flake .#<hostname>
- Switch (usually requires
sudo
):
nixos-rebuild switch --flake .#<hostname>
- Build:
home-manager build --flake .#<username>@<hostname>
- Switch:
home-manager switch --flake .#<username>@<hostname>
nix flake update
$ make
build-nixos: Build NixOS configuration
switch-nixos: Switch NixOS configuration
bootstrap-hm: Bootstrap Home-Manager configuration
build-hm: Build Home-Manager configuration
switch-hm: Switch Home-Manager configuration
format: Format source
lock: Update lock file
gc: Garbage collect
help: This menu