Commit graph

1198 commits

Author SHA1 Message Date
Bruno BELANYI 0241bfc781 home: vim: modify 'unimpaired' quickfix mappings 2023-03-20 09:52:05 +00:00
Bruno BELANYI a166a5b18b overlays: remove 'i3status-rust_0_22'
All checks were successful
continuous-integration/drone/push Build is passing
We don't need it now that we updated to the latest version.

This reverts commit 704df6b826.
2023-03-19 22:28:45 +00:00
Bruno BELANYI 2e9704ed1d home: wm: i3: simplify status command
The v0.30.0 of `i3status-rs` automatically resolves a configuration name
inside its configuration directory, making this much simpler.
2023-03-19 22:28:27 +00:00
Bruno BELANYI 7cec58e215 home: wm: i3bar: update to v0.30.X
This should be equivalent to the previous version's configuration, since
v0.30.0 introduced a lot of breaking changes.
2023-03-19 22:28:27 +00:00
Bruno BELANYI 176ff5d6e3 flake: bump inputs
Since the v0.30.0 version of `i3status-rust` was a breaking change, pin
the package to v0.22.0 for now.
2023-03-19 22:26:25 +00:00
Bruno BELANYI 887428fddd home: wm: i3: use explicit path to bar config
The v0.30.0 is about to change how it resolves the configuration path,
so make it explicit to ease the transition and simplify later.
2023-03-19 22:25:53 +00:00
Bruno BELANYI 704df6b826 overlays: add 'i3status-rust_0_22'
The latest version introduced breaking changes, let's do that correctly.
2023-03-19 22:21:53 +00:00
Bruno BELANYI c3c2a34606 overlays: add 'i3status-rust-main-program' 2023-03-19 21:34:15 +00:00
Bruno BELANYI 70e235dfcc modules: secrets: drone: modify gitea domain
Since I've changed the official subdomain for my forge, let's update it.
2023-03-16 21:40:06 +01:00
Bruno BELANYI 89256fa29b pkgs: use 'git.*' subdomain
Since I've changed the official subdomain for my forge, let's update it.
2023-03-16 21:40:06 +01:00
Bruno BELANYI e50b259a70 modules: services: gitea: change domain to 'git.*'
Because cool URLs don't change [1], setup a re-directed for it.

[1]: https://www.w3.org/Provider/Style/URI.html
2023-03-16 21:33:22 +01:00
Bruno BELANYI b3d90be8b1 modules: services: nginx: add 'redirect' option 2023-03-16 21:33:22 +01:00
Bruno BELANYI 05973b93ff home: tmux: add 'enabledPassthrough'
All checks were successful
continuous-integration/drone/push Build is passing
This is useful for cases where some programs expect to be able to use
the tmux passthrough escape sequences by using the tmux passthrough
sequence.

One such example is `osc52` script I packaged.

However I like the idea of tmux filtering all escape sequences by
default, so it's not enabled by default.
2023-03-16 16:42:55 +00:00
Bruno BELANYI 20341a3129 refactor: 'with lib.my' -> 'with lib' 2023-03-16 16:42:55 +00:00
Bruno BELANYI 464ed92b00 pkgs: diff-flake: re-order functions
All checks were successful
continuous-integration/drone/push Build is passing
This makes it more consistent across the entire file, and follows
alphabetical order (home -> host -> shell).
2023-03-16 11:49:26 +00:00
Bruno BELANYI 08740e846f pkgs: diff-flake: quote attribute names
Since we don't know if they contain `.` or other characters that might
need quoting.
2023-03-16 11:49:26 +00:00
Bruno BELANYI 66fc43f7ca pkgs: diff-flake: 0.3.1 -> 0.4.0
Add home-manager configurations.
2023-03-16 11:49:26 +00:00
Bruno BELANYI a5da0abbc2 pkgs: diff-flake: 0.3.0 -> 0.3.1
Add all dev shells when run without any arguments.
2023-03-16 11:49:26 +00:00
Bruno BELANYI b56674728f pkgs: diff-flake: 0.2.0 -> 0.3.0
Change how `devShells` is handled: always build for the current system
and instead query for the name of the shell that should be built.
2023-03-16 11:49:26 +00:00
Bruno BELANYI 5413bf7fbb flake: bump inputs
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-15 18:20:23 +00:00
Bruno BELANYI 1db162f272 home: zsh: add ctrl-{left,right} mapping 2023-03-15 18:20:23 +00:00
Bruno BELANYI 4f0a619921 home: zsh: add ctrl-delete mapping 2023-03-15 18:20:23 +00:00
Bruno BELANYI 69fbc438c1 home: zsh: add {home,end} mapping 2023-03-15 18:20:23 +00:00
Bruno BELANYI c48f6261be home: zsh: add page{up,down} mapping 2023-03-15 18:20:23 +00:00
Bruno BELANYI af8f3c814b home: zsh: ensure application mode with zle 2023-03-15 18:20:23 +00:00
Bruno BELANYI 2431f8f207 home: zsh: refactor 'terminfo' handling
This is more readable.

Largely inspired by oh-my-zsh.
2023-03-15 18:20:23 +00:00
Bruno BELANYI bc5fa3f679 home: zsh: use terminfo for mappings 2023-03-15 17:40:05 +00:00
Bruno BELANYI ca047bfe97 home: zsh: use more readable option names
All checks were successful
continuous-integration/drone/push Build is passing
Since they ignore underscores, this is more readable.
2023-03-15 15:20:14 +00:00
Bruno BELANYI eb75fcfa3f home: zsh: enable slash squeezing 2023-03-15 15:20:14 +00:00
Bruno BELANYI e8c52175b6 home: git: add 'root' alias
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-14 17:00:45 +00:00
Bruno BELANYI 623bb6c893 home: vim: git: attach to untracked buffers
All checks were successful
continuous-integration/drone/push Build is passing
Turns outs it looks way more discreet now. Whether that's due to an
update to the plug-in or my changing colorscheme, I don't know.
2023-03-13 15:49:07 +00:00
Bruno BELANYI 1e4d4650e2 home: zsh: disable shared history
All checks were successful
continuous-integration/drone/push Build is passing
I know I just activated it, but I can't get used to it...

I would like to have a mixture of it:
* Be able to search across *all* shell histories when using Ctrl-r.
* Only go up/down my session's shell history when using Ctrl-n/Ctrl-p.

Enabling shared history gets me the first one, but means I can't limit
my up/down history to just the one session.

Disabling shared history means that I can't search across all shell
histories, but keeps my up/down history tidier.

All-in-all I like the second one better.
2023-03-11 22:01:47 +00:00
Bruno BELANYI fafbb93ea9 modules: home: use named 'nixosModules'
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-11 20:44:04 +00:00
Bruno BELANYI 2d2f729138 home: zsh: don't hard-code '$XDG_CONFIG_HOME'
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-08 14:42:54 +00:00
Bruno BELANYI f1a7e9fd93 home: zsh: enable history sharing 2023-03-08 14:37:37 +00:00
Bruno BELANYI 7dd221cc93 home: zsh: expire duplicates first 2023-03-08 14:37:37 +00:00
Bruno BELANYI ff66361f65 home: zsh: use extended history
I have `inc_append_history_time` set, so I should use extended
history...
2023-03-08 14:37:37 +00:00
Bruno BELANYI 4786552e8c home: zsh: verify history expansion
This helps when I absentmindedly run a command which contains
exclamation points.
2023-03-08 14:37:37 +00:00
Bruno BELANYI 9f6a9d2ff7 flake: move ouputs logic to 'flake/' 2023-03-08 14:37:37 +00:00
Bruno BELANYI d14f96d584 flake: move 'nixosConfigurations' to 'flake/'
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-07 12:34:46 +00:00
Bruno BELANYI 40fff4b13a flake: move 'packages' to 'flake/' 2023-03-07 12:34:46 +00:00
Bruno BELANYI 1ae2bca445 flake: move 'devShells' to 'flake/' 2023-03-07 12:34:46 +00:00
Bruno BELANYI fc02519c4f flake: move 'checks' to 'flake/' 2023-03-07 12:34:46 +00:00
Bruno BELANYI 90d1d81983 flake: move 'lib' to 'flake/' 2023-03-07 12:34:46 +00:00
Bruno BELANYI 819ce1a320 flake: move 'overlays' to 'flake/' 2023-03-07 12:34:46 +00:00
Bruno BELANYI b9083244ed flake: add 'aarch64-darwin' again
I don't get an error during `nix flake check` anymore.

This reverts commit 8a556585af.
2023-03-07 12:34:46 +00:00
Bruno BELANYI 04734c8bd2 pkgs: ff2mpv-go: fix 'vendorHash' 2023-03-07 12:34:46 +00:00
Bruno BELANYI 8b7198d7e7 direnv: always use 'nix-direnv' 2023-03-07 11:51:04 +00:00
Bruno BELANYI 453e5a925a direnv: remove nix evaluation hack 2023-03-07 11:50:34 +00:00
Bruno BELANYI 3ed5e40285 flake: expose 'lib' attribute
This exposes `lib.my` which contains my custom library functions, as
well as the entirety of the nixpkgs library.
2023-03-07 11:05:07 +00:00