Commit graph

1585 commits

Author SHA1 Message Date
Bruno BELANYI 1e9f6fe957 home: vim: fix lua formatting 2023-05-07 13:36:10 +01:00
Bruno BELANYI c2d231d3f1 home: vim: use actual lua files
Since most of the settings are actually just lua in a VimL file.
2023-05-07 13:36:10 +01:00
Bruno BELANYI 9530864b10 home: vim: fastfold: use lua configuration 2023-05-07 13:36:10 +01:00
Bruno BELANYI e599a97e45 home: vim: abbreviations: use lua
This makes it less repetitive.
2023-05-07 13:36:10 +01:00
Bruno BELANYI 39c2e5db8c home: vim: signtoggle: use lua autocommands
A nice next step would be to use actual lua callbacks instead of the
VimL command.
2023-05-07 13:36:10 +01:00
Bruno BELANYI dba8836381 home: vim: numbertoggle: use lua autocommands
A nice next step would be to use actual lua callbacks instead of the
VimL command.
2023-05-07 13:36:10 +01:00
Bruno BELANYI 36b0c67832 home: vim: completion: use lua settings 2023-05-07 13:33:02 +01:00
Bruno BELANYI 68b9c3b9b1 home: vim: remove 'vim-pandoc'
The tree-sitter code-block high-lighting is built-in and works better,
and I don't use any of the other features.
2023-05-07 13:04:37 +01:00
Bruno BELANYI d8896a66c8 hosts: home: cloudtop: systemd session variable
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-05-05 09:05:51 +00:00
Bruno BELANYI a1dd0bb792 modules: services: matrix: remove 'with lib'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-05-04 12:19:31 +00:00
Bruno BELANYI 46d9e5c829 home: vim: lspconfig: add 'nil'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-05-04 09:27:19 +00:00
Bruno BELANYI b9d6115994 pkgs: unbound-zones-adblock: remove unused 'rec' 2023-05-04 09:27:19 +00:00
Bruno BELANYI beeafe5e33 home: nix: remove unused 'options' 2023-05-04 09:27:19 +00:00
Bruno BELANYI c19baeb19d modules: system: podman: remove unused 'options' 2023-05-04 09:27:19 +00:00
Bruno BELANYI 62d9359eb7 modules: services: matrix: clean-up formatting 2023-05-04 09:27:19 +00:00
Bruno BELANYI 85e31e5d6c home: zsh: remove unused 'with pkgs' 2023-05-04 09:27:19 +00:00
Bruno BELANYI 185b1d5490 flake: remove unused 'lib' 2023-05-04 09:27:19 +00:00
Bruno BELANYI 9f3a8ac2bd home: zsh: extract aliases
All checks were successful
ci/woodpecker/push/check Pipeline was successful
It doesn't (yet?) support nushell, if I ever end up switching to it.
2023-05-03 20:20:07 +01:00
Bruno BELANYI 4feee73b8e home: vim: set 'splitkeep' 2023-05-03 20:02:34 +01:00
Bruno BELANYI c117d1caed flake: checks: enable 'deadnix'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-05-03 15:22:52 +00:00
Bruno BELANYI 284b83b896 lib: ip: check range in 'nthInRange4' 2023-05-03 15:22:52 +00:00
Bruno BELANYI dac80373a1 flake: nixos: use consistent module formatting 2023-05-03 15:15:31 +00:00
Bruno BELANYI a868088cc9 treewide: rename unused overlay arguments
Now that `nix flake check` doesn't complain about it anymore, try to be
consistent about using that feature.
2023-05-03 15:15:31 +00:00
Bruno BELANYI 2f3989bba1 modules: services: wireguard: simplify 2023-05-03 15:15:31 +00:00
Bruno BELANYI 49b2cb9781 modules: secrets: remove unused 'options' 2023-05-03 15:15:31 +00:00
Bruno BELANYI bd6b7ca9e2 flake: do not use explicit inputs
This ends up being more annoying than useful most of the time anyway...

Make a note that we can't just eta-reduce the outputs, due to a nix
limitation on flake outputs (see [1]).

[1]: https://github.com/NixOS/nix/issues/4384
2023-05-03 15:15:31 +00:00
Bruno BELANYI debdadbd1a pkgs: woodpecker: do not name unused argument 2023-05-03 15:15:31 +00:00
Bruno BELANYI 6f3594b694 pkgs: woodpecker: remove unused inputs 2023-05-03 15:15:31 +00:00
Bruno BELANYI 0e7c0531f5 lib: string: remove unused 'let' block 2023-05-03 15:02:44 +00:00
Bruno BELANYI 7bd2e1504d home: vim: lua: lsp: customize diagnostics display 2023-05-03 15:02:44 +00:00
Bruno BELANYI b0f054b1e6 home: vim: configure 'lsp_lines' 2023-05-03 15:02:44 +00:00
Bruno BELANYI 6cdbd6bb29 home: vim: lua: lsp: remove diagnostic on hover 2023-05-03 15:02:44 +00:00
Bruno BELANYI 29daa555a3 hosts: nixos: porthos: services: disable quassel
I don't use it anymore.
2023-05-03 15:02:44 +00:00
Bruno BELANYI fadb8e96fc modules: system: nix: add 'cache.selfHosted' 2023-05-03 15:02:44 +00:00
Bruno BELANYI 20d19ed128 modules: system: nix: rename 'inputs' options 2023-05-03 15:02:44 +00:00
Bruno BELANYI 93bc5cbd01 nixos: porthos: services: enable nix-serve
Unfortunately, the priority cannot be changed and defaults to being
higher (by using a lower integer) than the NixOS cache...
2023-05-03 15:02:44 +00:00
Bruno BELANYI f7df17686f nixos: porthos: secrets: add 'nix-serve/cache-key' 2023-05-03 15:02:44 +00:00
Bruno BELANYI 455a4e5431 modules: services: add nix-serve 2023-05-03 15:02:44 +00:00
Bruno BELANYI 872f045740 overlays: add 'nix-serve-ng-initLibStore' 2023-05-03 15:02:44 +00:00
Bruno BELANYI fe8481292d flake: bump inputs 2023-05-03 15:02:44 +00:00
Bruno BELANYI d9e115a876 modules: services: woodpecker: adapt gitea URL 2023-05-03 15:02:44 +00:00
Bruno BELANYI e4e44dd8fa home: atuin: enable command line preview 2023-05-03 15:02:44 +00:00
Bruno BELANYI f41fd5d42e home: atuin: use 'skim' engine 2023-05-03 15:02:44 +00:00
Bruno BELANYI 5a9e62d556 home: add atuin
I really like the `fzf` history widget, and this is not as good UI-wise.

However I like the fact that this uses a DB:

* It is more reliable when the history file gets messed up [1]
* It allows syncing between different hosts (not sure if I will use it)
* It adds more context to the search
    * The current directory
    * The shell _session_, I can *either* search all sessions or
      restrict to just the current one

I will be looking into whether or not I can hack something together to
get a better UI (by using `fzf` of course).
2023-05-03 15:02:44 +00:00
Bruno BELANYI 0ab56888bd home: extract dircolors configuration 2023-05-03 15:02:44 +00:00
Bruno BELANYI 1d7b9b99db home: extract fzf configuration 2023-05-03 15:02:44 +00:00
Bruno BELANYI d8c841333b modules: services: gitea: migrate settings
Most of the settings are now RFC-42 compliant.
2023-05-03 15:02:44 +00:00
Bruno BELANYI f47ac78370 flake: bump inputs 2023-05-03 15:02:44 +00:00
Bruno BELANYI c82361f9e4 home: git: ignore neovim 'exrc' configuration 2023-05-03 15:02:44 +00:00
Bruno BELANYI 5c372cfa95 home: vim: use 'exrc'
Remove the home-grown "solution" that I had stolen from school (and
never used...) for project-local configuration.

Since [1], it is okay to use the built-in vim option for this, since it
only asks for user-input before trusting a file.

Since [2] they even support lua files!

[1]: https://github.com/neovim/neovim/pull/20956
[2]: https://github.com/neovim/neovim/pull/21436
2023-05-03 15:02:44 +00:00