From 10a40aeff6b28fc38339a940d2a70995001443d8 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 16 Apr 2023 20:37:30 +0200 Subject: [PATCH] Add hardware-config regeneration --- nixos-config/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos-config/update.sh b/nixos-config/update.sh index 80c7c1a5..0c39e787 100755 --- a/nixos-config/update.sh +++ b/nixos-config/update.sh @@ -6,4 +6,8 @@ git reset --hard git clean -fd git pull +# regenerate hardware config +nixos-generate-config + +# rebuild system nixos-rebuild switch