From baafd179b457779559b3724ed1837213810ba1b7 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Fri, 29 Jul 2022 02:52:17 +0200 Subject: [PATCH] Update script to update root --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index f4e967f..3f8e899 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,9 @@ ${pkgs.nixfmt}/bin/nixfmt **/*.nix ''; update = pkgs.writeScriptBin "update" '' + # Update root + ${pkgs.nix}/bin/nix flake update + for dir in `ls -d */`; do # Iterate through all the templates ( cd $dir