WIP: Switch to NixOS #5

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

View file

@ -240,6 +240,29 @@ update() {
esac esac
} }
_update() {
local commands=(
"all:Update everything"
"dotfiles:Update dotfiles"
"plugins:Update plugins for NeoVim and ZSH"
{%@@ if profile == "Moria" @@%}
"repo:Update packages in Korhonen AUR repository"
"docker:Update all Docker containers"
{%@@ endif @@%}
)
_arguments \
'1: :->command' \
'*:: :->args'
case "$state" in
(command)
_describe -t commands 'available commands' commands
;;
esac
}
compdef _update update
# turn on usb tethering on my android phone # turn on usb tethering on my android phone
tether() { adb shell su -c "service call connectivity 33 i32 1 s16 me" > /dev/null } tether() { adb shell su -c "service call connectivity 33 i32 1 s16 me" > /dev/null }