Update script to update root

This commit is contained in:
Luc Perkins 2022-07-29 02:52:17 +02:00
parent 048a909ca8
commit baafd179b4
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2

View file

@ -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