Henrik Lissner
327b113a07
refactor!: rename bitwarden -> vaultwarden
...
Was renamed upstream, in NixOS 21.11.
2021-09-04 00:10:46 +02:00
Henrik Lissner
dc5285b15c
Update 'hey update' to reflect upstream changes
...
`nix flake update --update-input X` is now 'nix flake lock
--update-input X'
2021-04-13 20:30:00 -04:00
Henrik Lissner
aaba064089
bin/rofi/bwmenu: fix session persistence & TOTP field
2021-03-12 01:01:12 -05:00
Henrik Lissner
80c86bb44f
bin/hey: minor refactors & doc revision
2021-02-28 22:31:04 -05:00
Henrik Lissner
6e80c04cd0
bin/hey: remove shell command
...
Doesn't serve any purpose.
2021-02-28 22:31:04 -05:00
Henrik Lissner
ab2e052ba3
bin/hey: fix repl command
...
Now loads nixpkgs and dotfiles flake.
2021-02-28 22:30:58 -05:00
Henrik Lissner
9d87ac9d49
bin/hey gc: gc system profile first
...
Better UX to prompt for root password sooner.
2021-02-26 13:27:17 -05:00
Henrik Lissner
fcc7366f83
bin/hey: derive target host from --flake argument
2021-02-24 14:37:16 -05:00
Henrik Lissner
60ca8b192b
bin/rofi/bwmenu: add --field whole support
...
Mostly for shell script interop, so each field doesn't have to be
independently fetched.
2021-02-24 14:35:16 -05:00
Henrik Lissner
705a1fa30d
Add bin/rofi/bwmenu & sxhkd shortcuts for it
...
Bitwarden + rofi
2021-02-23 10:47:38 -05:00
Henrik Lissner
c788855196
bin/hey: minor reformatting
2021-02-21 14:48:04 -05:00
Henrik Lissner
404e0c2881
Tweak rofi styles
2021-02-20 11:39:27 -05:00
Henrik Lissner
ad2f0e6d7c
Use ruby 2.7 in scripts
2021-02-18 00:26:59 -05:00
Henrik Lissner
547dcd4789
bin/rofi/browsermenu: update comments
2021-02-17 19:19:32 -05:00
Henrik Lissner
b3bbb692c1
Minor reformatting
2021-02-17 12:53:17 -05:00
Henrik Lissner
aa32b27b70
hey/repl: don't load dotfiles flake
...
Doesn't populate special args (like inputs).
2021-02-17 12:34:46 -05:00
Henrik Lissner
c603422085
Replace bin/bookmarkmenu with bin/browsermenu
...
Handles both history and bookmarks. Also, rewritten in ruby.
2021-02-17 00:47:30 -05:00
Henrik Lissner
d05afa7ee6
bin/hey: fix logic oopsies
...
+ Fix premature termination on shell command failure
+ Fix :gc always cleaning up user profile, even if --system is given
2021-02-15 19:06:48 -05:00
Henrik Lissner
b9e7d7213c
bin/hey: add option docs & fix error handling
2021-02-15 13:16:18 -05:00
Henrik Lissner
82bab563cd
Fix incorrect hostname in flake URI on "hey ssh"
2021-02-14 19:23:13 -05:00
Henrik Lissner
b155537219
Rewrite bin/hey in ruby
...
Because bash is a pain at this (and planned) levels of complexity.
Also, better auto-documentation on 'hey {h,help,-h,--help}'
2021-02-13 15:28:27 -05:00
Henrik Lissner
af525f2514
bin/hey: forward -iApeq to nix-env
2021-01-29 23:09:17 -05:00
Henrik Lissner
24a93a756b
bin/hey: fallback to hey-X binary
...
Allows for extensions.
2021-01-26 22:58:47 -05:00
Henrik Lissner
4a57fc7d2a
Remove -h/--help
...
Redundant with h|help. Instead, we're using -h/--host for setting target
hostname.
2021-01-26 22:58:47 -05:00
Henrik Lissner
64bec0f415
Generalize bin/hey
...
It'll operate out of /etc/nixos or /etc/dotfiles, rather than where the
script lives. This allows it to be used for flakes instantiated from our
templates.
2021-01-26 22:58:47 -05:00
Henrik Lissner
abf2aeb689
bin/hey gc: clean up & delete leftover secrets
2021-01-26 22:58:47 -05:00
Henrik Lissner
3d3497d9e9
bin/hey push: clean up/stop redundant sudo prompts
2021-01-26 22:58:47 -05:00
Henrik Lissner
07f82da2a2
bin/hey: revise comments & refactor
2021-01-26 22:58:47 -05:00
Henrik Lissner
82ee5bef6a
bin/hey: add --option pure-eval no
...
There are cases where impure evaluate is necessary or unavoidable.
2021-01-26 22:58:47 -05:00
Henrik Lissner
e703bd374d
New ssh pubkey & redesign 'hey push'
...
Remote rebuilding requires root access, but I don't want root ssh
access (even by ssh key) to be a permanent fixture of my servers. So
I've changed 'hey push' to copy my remote user's `authorized_keys` to
/root/.ssh/ temporarily, until the rebuild is complete. It is removed
afterwards.
This should be done non-destructively in the future, but it suits my
needs for now.
2021-01-26 22:56:50 -05:00
Henrik Lissner
cf85294497
bin/mov2gif: fix comments; use cached-nix-shell
2021-01-20 00:44:35 -05:00
Henrik Lissner
a7c9a87d5d
bin/hey: use $HOSTNAME (but fall back to $HOST)
2020-12-20 20:16:01 -05:00
Henrik Lissner
aa350a6a5c
bin/hey: add {sh,repl} commands
2020-12-20 20:16:00 -05:00
Henrik Lissner
5866008d0c
Fix bin/{mov2gif,bspwm/presel}
...
Shifting the first is no longer necessary for nix-shell scripts.
2020-11-27 13:59:12 -05:00
Henrik Lissner
da2eebf5d5
Fix $HOST references
...
$HOSTNAME won't be set. $HOST will.
2020-10-26 05:47:31 -04:00
Henrik Lissner
aa57d2ccad
Fix bin/hey remote path in 'hey push'
2020-10-26 01:31:20 -04:00
Henrik Lissner
cbb05939ea
Add 'hey swap' and update 'hey' usage
2020-10-25 15:52:50 -04:00
Henrik Lissner
14e2aada30
Refactor theme system, add 'hey theme' & reload handlers
...
Themes can now be swapped with 'hey theme NAME', or reloaded with the
reloadTheme script.
2020-10-25 15:52:50 -04:00
Henrik Lissner
74a8b35b88
Allow 'hey {ch,sh}' to take arguments
2020-10-23 18:11:03 -04:00
Henrik Lissner
df1a899d6d
Add 'hey test'
2020-10-17 18:42:02 -04:00
Henrik Lissner
1a70fa3bf1
Allow 'hey update' to update individual inputs
2020-10-17 17:24:10 -04:00
Henrik Lissner
514e547a89
Update bin/hey usage
2020-10-17 17:04:01 -04:00
Henrik Lissner
87b24626ea
Add 'hey swap'
...
For swapping out symlinked store files so I can tweak them without
doing a complete rebuild each time.
2020-10-17 17:04:01 -04:00
Henrik Lissner
40005d0e88
Set registry, disable sandbox + autoOptimise
...
Sandbox and auto-optimizing make builds unnecessarily slower. 'hey gc'
will optimise the store anyway.
2020-10-17 17:04:01 -04:00
Henrik Lissner
475c3132ec
Remove references to old script name
2020-10-16 05:49:47 -04:00
Henrik Lissner
b3fee313d0
Add 'hey search' command
...
Shortcut for nix search nixpkgs $@
2020-10-11 23:51:23 -04:00
Henrik Lissner
5f5c59a95f
Fix zsh completion for bin/hey
...
And remove unused commands from usage.
2020-10-11 15:22:33 -04:00
Henrik Lissner
f302621346
Correct bin/hey command table
...
And outdated reference to script's old name.
2020-10-11 01:37:01 -04:00
Henrik Lissner
a75c64d04a
Rewrite to use flakes
...
This puts a hard dependency on 20.09, but that's to be expected.
2020-10-11 01:31:33 -04:00
Henrik Lissner
20b8c2c1ad
Use zsh for bin/since
...
Why depend on bc for this, when we know zsh will always be available on
my nix systems.
2020-05-12 17:45:58 -04:00