.PHONY: default test lock default: sudo nixos-rebuild switch --flake . test: git -C . add . sudo nixos-rebuild test --flake . lock: nix flake lock --update-input nixpkgs --update-input home-manager git -C . add flake.lock nix flake archive