WIP: Switch to NixOS #5

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

View file

@ -140,6 +140,7 @@ update() {
zinit update -p zinit update -p
$HOME/.tmux/plugins/tpm/bin/update_plugins all $HOME/.tmux/plugins/tpm/bin/update_plugins all
} }
{%@@ if profile == "Moria" @@%}
docker() { docker() {
for dir in $HOME/Git/dotfiles/docker/*; do for dir in $HOME/Git/dotfiles/docker/*; do
@ -150,6 +151,7 @@ update() {
done done
} }
{%@@ endif @@%}
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
1=base 1=base
fi fi
@ -164,9 +166,11 @@ update() {
plugins) plugins)
plugins plugins
;; ;;
{%@@ if profile == "Moria" @@%}
docker) docker)
docker docker
;; ;;
{%@@ endif @@%}
*) *)
printf "$1: not a valid action" printf "$1: not a valid action"
;; ;;