diff --git a/config/users/kat/firefox/tridactylrc b/config/users/kat/firefox/tridactylrc index a19d1212..10c6ea85 100644 --- a/config/users/kat/firefox/tridactylrc +++ b/config/users/kat/firefox/tridactylrc @@ -32,6 +32,12 @@ " Binds " +bind / fillcmdline find +bind ? fillcmdline find -? +bind n findnext 1 +bind N findnext -1 +bind , nohlsearc + " Comment toggler for Reddit, Hacker News and Lobste.rs bind ;c hint -Jc [class*="expand"],[class="togg"],[class="comment_folder"] diff --git a/nyx b/nyx index 7a179bbb..2109a5dd 100755 --- a/nyx +++ b/nyx @@ -16,6 +16,13 @@ build() { nix build -f . deploy.$HOST && ./result $METHOD } +install() { + nix build -f . hosts.$HOST.config.system.build.toplevel + CLOSURE=$(readlink result) + nix-store --export $(nix-store -qR ./result) | ssh root@$HOST nix-store --import --store /mnt + ssh root@$HOST nixos-install --system $CLOSURE +} + main() { if [ $# -lt 2 ]; then usage @@ -23,7 +30,7 @@ main() { CMD=$1 shift - "$CMD" "$@" + $CMD $@ fi }