Commit graph

20 commits

Author SHA1 Message Date
17fd11a6a9 Add rhea to hosts and fish abbreviations 2023-06-03 12:28:06 +05:30
6673436bf3 Add hosts entries and fish abbrev for titan and lapetus
titan and lapetus are first of two new Raspberry Pi Zero Ws.

While quite anemic and decidedly incapable of running modern NixOS, they
still run Debian well enough, and are still full computers in their own
right.

So they get hostnames, the first of two moons in solar system, starting
from Saturn (should last a while :p), by ascending order of their year
of discovery. After Saturn, it'll be Jupyter, Uranus, Neptune, and then
back inwards starting from Mars. Luna will be last (if we ever manage to
get that far :p)
2023-06-02 01:24:55 +05:30
4b2b429052 common: Enable Atuin integration
shell history backed by sqlite database and spruced up with colorful
interface.

It is a direct replacement for fzf in that regard, and seems to work
quite well, albeit does not interact with fzf satisfactorily. So this is
an experiment to see how it goes.

It also provides syncing of shell history, with end-to-end encryption,
so that's something I'm looking forward to. Let's see how it goes.
2023-05-16 13:03:08 +05:30
bc8062f330 deploy-rs: More configuration
Right now this fails, because what I assume is a failure with emulation
in WSL, but otherwise I'm linking the overall approach of reusing the
preconfigured nixOSConfigurations in the same flake, as well as
lightweight burden of configuration. Doesn't hurt that it is written in
Rust rather than Python.
2023-04-30 16:59:46 +05:30
9b08f7b64c fish: switch emacs dir to new default freedesktop dir 2023-04-16 19:15:37 +05:30
c701f5a4d1 fish: Add another abbrev to update flake with sudo 2022-11-08 01:46:35 +05:30
a4b46acf5e Fish: Add alias for 'mu index' 2022-09-23 11:28:13 +05:30
3c1666f9b1 Hermes: remove small unhelpful comments 2022-06-05 08:18:36 +05:30
a72f11864f Fish: Disable greeting text 2022-06-04 23:40:21 +05:30
720c2e0bae Fish: Add alias to new bkp script in emacs-lisp
Emacs-lisp is proving to be decent scripting language.

This is a small script I wrote to unlock restic repos in case they get locked
based on few input params.
2022-05-19 23:12:07 +05:30
3d13f90f08 Fish: Manage Fish plugins via NixOS
There is home-manager for more fine-grained plugin management, but I only use
single plugin used by Fish shell, and it is already present in nixpkgs.

Also setup (commented) code to add config.fish via home-manager. Should come in
handy in future.
2022-05-14 11:56:43 +05:30
c17557c7e5 Enterprise: Move Emacs config to home-manager
In sync with my general attempt to move as much as possible into user config
rather than system config.

It also makes Emacs config "slightly" cleaner and better understandable.
2022-05-14 11:54:37 +05:30
8752f3dc60 Fish: Add abbreviation: mkbook
This will download the whole HTML and its linked docs, recursively 5-levels
deep,  with random delays inbetween so as to not get throttled and convert links
to point to local files.

In short, this will copy a whole website on local, in a completely useable from
local format.

I tested on the Rust Book and it works fantastically!

I have a hunch I'll be using this multiple times going forward, so adding
abreviation.
2022-05-03 22:38:05 +05:30
1992e23f6b Fish: Add a function to compare two NixOS revisions on system
This function is a fish wrapper around a 'nix store' command to make it less
annoying to type every time.
2022-04-24 16:20:42 +05:30
016bfe7c50 Fish/Nix: Add abbr to delete all unued gc roots 2022-04-20 19:13:47 +05:30
3a56cf4ad1 Fish: Add simple abbr to check space left in all useful partitions 2022-04-18 19:12:26 +05:30
b74eda979b Fish: simplify abbreviations for bebop interaction 2022-04-17 22:03:44 +05:30
ce5b5ada3a Fish: Add couple of aliases for nix-env system rollback/switch-generation
NOT tested
2022-04-16 20:20:30 +05:30
026b412e23 Fish: Add couple of aliases to interact with bebop remotely 2022-04-16 20:20:08 +05:30
3e11013c7b Make Fish a common module instead of host specific module 2022-04-15 11:58:17 +05:30
Renamed from hosts/enterprise/fish.nix (Browse further)