Update script to update root
This commit is contained in:
parent
048a909ca8
commit
baafd179b4
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue