Commit graph

1413 commits

Author SHA1 Message Date
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
Bruno BELANYI 068faea1e2 home: zsh: extra-mappings: use single quotes
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-07 11:05:07 +00:00
Bruno BELANYI 41bd17e3ca home: vim: migrate to 'gruvbox-nvim'
I think this one will be more up-to-date with NeoVim evolutions, like
LSP semantic tokens.
2023-03-07 11:05:07 +00:00
Bruno BELANYI a29deaa9bc home: vim: use 'lsp-formatting.nvim'
A few things that are different:
* Async by default.
* Takes care of the order of formatters, if I ever need to do that.
* Allows for easily disabling formatting (unfortunately this is global
  state, not buffer-local).
* Gets rid of the formatting pause when doing `:wq`.
2023-03-07 11:05:07 +00:00
Bruno BELANYI 3122db6536 home: vim: disable mouse integration 2023-03-07 11:05:07 +00:00
Bruno BELANYI 2a7e6197f5 flake: system-specific 'homeConfigurations' 2023-03-07 11:05:07 +00:00
Bruno BELANYI 4a6677b024 modules: system: nix: add 'linkInputs' option
All checks were successful
continuous-integration/drone/push Build is passing
Once again, mirroring the work done in the NixOS module.
2023-02-25 01:43:07 +00:00
Bruno BELANYI ca1e2df1e9 home: nix: refactor module
This keeps it in line with the NixOS one.
2023-02-25 01:43:07 +00:00
Bruno BELANYI 58d03d5892 home: nix: add explanatory comment 2023-02-25 01:43:07 +00:00
Bruno BELANYI 8b9a01a0ef modules: system: nix: DRY inputs handling 2023-02-25 01:43:07 +00:00
Bruno BELANYI 3c6e8933a1 lib: attrs: add 'merge' 2023-02-25 01:43:07 +00:00
Bruno BELANYI ae23f05a33 flake: bump inputs 2023-02-25 01:43:07 +00:00
Bruno BELANYI 54a6be70c8 modules: system: nix: simplify 'NIX_PATH'
Since we now have an explicit 'pkgs' link, we can just add the folder
with all linked inputs directly instead of adding them all manually.
2023-02-25 01:43:07 +00:00
Bruno BELANYI a99954b12a modules: system: nix: add explicit 'pkgs' link 2023-02-25 01:43:07 +00:00
Bruno BELANYI 6eb87c21b7 modules: system: nix: use stable 'NIX_PATH'
All checks were successful
continuous-integration/drone/push Build is passing
Since the links are updated on system switch, NIX_PATH will
automatically point to the actual system version of the inputs at all
times
2023-02-23 21:03:22 +00:00
Bruno BELANYI c1214547da modules: system: nix: add '/etc/nix/inputs' links 2023-02-23 20:58:05 +00:00
Bruno BELANYI 607d11bbad home: zsh: disable tmux auto-launch by default
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-22 16:12:30 +00:00
Bruno BELANYI 06989facc2 machines: porthos: home: enable tmux auto-launch
I'm about to flip the default to always disabled, so enable it
explicitly.
2023-02-22 16:12:07 +00:00
Bruno BELANYI 55b828cba9 machines: porthos: add home configuration 2023-02-22 16:12:07 +00:00
Bruno BELANYI 34c13b077f home: zsh: refactor tmux auto-launch configuration
Introduce an actual option for this behaviour.
2023-02-22 16:11:18 +00:00
Bruno BELANYI 0bbf522c03 home: tmux: change 'use lib.my' to 'use libs' 2023-02-22 16:00:26 +00:00
Bruno BELANYI 737747f8f5 flake: add 'homeConfigurations.ambroisie'
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-21 17:53:09 +00:00
Bruno BELANYI ee6a735a2c home: add nix
This is basically the same thing as the NixOS module, except for
NIX_PATH handling [1].

[1]: https://github.com/nix-community/home-manager/pull/2677
2023-02-21 17:52:39 +00:00
Bruno BELANYI 3505b4d7f0 modules: services: sabnzbd: add fail2ban jail
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-20 23:01:50 +01:00
Bruno BELANYI 86aa156fc0 home: tmux: fix 'hasGui' logic
All checks were successful
continuous-integration/drone/push Build is passing
Take advantage of this fix to make the code more extensible.
2023-02-20 11:19:20 +00:00
Bruno BELANYI 54f335d984 home: tmux: always use tmux-yank
This plugin does have some useful binds.

Since it still sends the OSC52 escape sequence when copying, I don't
have a problem with remote hosts.
2023-02-20 11:19:13 +00:00
Bruno BELANYI 9965c3846f pkgs: add osc52
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-20 10:44:28 +00:00
Bruno BELANYI 2485a60d62 modules: services: calibre-web: add fail2ban jail
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-20 09:04:50 +00:00
Bruno BELANYI b9f6c5d534 modules: services: gitea: add fail2ban jail 2023-02-20 09:04:50 +00:00
Bruno BELANYI d647830911 modules: services: order imports 2023-02-20 09:04:50 +00:00
Bruno BELANYI b2ce0530dc machines: porthos: services: enable fail2ban 2023-02-20 09:04:50 +00:00
Bruno BELANYI 13aa8abfaf modules: services: add fail2ban 2023-02-20 09:04:50 +00:00
Bruno BELANYI 4e59c0d551 home: firefox: tridactyl: fix DDG mapping
All checks were successful
continuous-integration/drone/push Build is passing
They broke, once again...
2023-02-19 14:16:13 +00:00
Bruno BELANYI 75396c4c4c home: firefox: tridactyl: use more private editor
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-19 14:12:09 +00:00
Bruno BELANYI 5d42f55fc6 home: firefox: tridactyl: fix 'editorcmd'
All checks were successful
continuous-integration/drone/push Build is passing
Turns out `alacritty` is smarter than `termit` with its handling of
command execution (i.e: actually expects multiple arguments to exec(2)).

So account for the difference in the module.
2023-02-19 14:02:57 +00:00
Bruno BELANYI e667c042cb home: zsh: add colorful aliases
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-19 12:25:40 +00:00