Committed after home build
diff --git a/scripts/upgrade-nix b/scripts/upgrade-nix
index ff73187..51ae11e 100755
--- a/scripts/upgrade-nix
+++ b/scripts/upgrade-nix
@@ -1,5 +1,5 @@
 #!/bin/sh
 
 cd "$(dirname ${BASH_SOURCE[0]})/.."
-sudo nix-channel --update
+nix flake update
 sudo scripts/update-nix