From a533705e9e46dd87278b8d394c527ce01ace962e Mon Sep 17 00:00:00 2001 From: Chris Thompson Date: Sat, 7 Dec 2024 22:25:56 -0500 Subject: [PATCH] Update readme for flake update --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0fbeb3b..c1ac154 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,9 @@ All system's nix configuration -Updating: `sudo nixos-rebuild switch --flake /etc/nixos/#hostname` +Updating: +``` +sudo flake update +sudo nixos-rebuild switch --flake /etc/nixos/#hostname +``` +Or just e.g. `sudo nixos-rebuild switch --recreate-lock-file --flake .#default`