WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
Showing only changes of commit fae3572178 - Show all commits

View file

@ -216,6 +216,9 @@ update() {
dotdrop install dotdrop install
} }
if [ $# -eq 0 ]; then
packages # Update only packages if no option was provided
else
case "$1" in case "$1" in
all) all)
all all
@ -235,9 +238,11 @@ update() {
;; ;;
{%@@ endif @@%} {%@@ endif @@%}
*) *)
packages echo "Unknown option: $1"
return 1
;; ;;
esac esac
fi
} }
_update() { _update() {