First attempt at writing the installer

This commit is contained in:
2025-03-25 15:18:32 +01:00
commit e87d00fce2
4 changed files with 111 additions and 0 deletions

10
updateindex.nu Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env nix-shell
#!nix-shell -p jq nushell -i nu
open index.json
| each {|entry|
{src: $entry.src, dest: $entry.dest,
hash: (cat $entry.src | hash sha256)}
}
| collect
| save -f index.json