Commit graph

1592 commits

Author SHA1 Message Date
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
Bruno BELANYI 0f385abf3c pkgs: fix 'nativeBuildInputs' usage 2023-05-03 15:02:44 +00:00
Bruno BELANYI ce4e163193 pkgs: add wifi-qr 2023-05-03 15:02:44 +00:00
Bruno BELANYI e9f07e67dc home: vim: add diff line matching
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This should bring more readable diffs. See [1].

[1]: https://github.com/neovim/neovim/pull/14537
2023-04-19 08:36:40 +00:00
Bruno BELANYI 2375f88e56 home: vim: use patience diff
This brings it in line with my `git` configuration.
2023-04-19 08:34:39 +00:00
Bruno BELANYI d424aaa4a1 templates: c++-meson: add '.envrc'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This was ignored when I added the initial commit.
2023-04-18 22:06:57 +01:00
Bruno BELANYI 638f4a7774 modules: system: boot: rename 'tmp' options
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-04-17 21:25:15 +02:00
Bruno BELANYI f935126312 flake: bump inputs 2023-04-17 21:22:10 +02:00
Bruno BELANYI af470f507b bootstrap: remove GPG setup step
All checks were successful
ci/woodpecker/push/check Pipeline was successful
I don't use `git-crypt` anymore, this is no longer useful.
2023-04-17 09:28:23 +00:00
Bruno BELANYI 98c77cb258 bootstrap: rename agenix SSH key
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-04-17 08:18:27 +00:00
Bruno BELANYI 04d92a29e3 hosts: nixos: aramis: secrets: rename SSH key 2023-04-17 08:18:27 +00:00
Bruno BELANYI 7cebaa3751 modules: secrets: move wireguard keys
This is a bit special, as some of the keys do not belong to NixOS hosts,
so store those in the module itself, and into host-specific directories
for the keys that are NixOS hosts.
2023-04-17 08:18:27 +00:00
Bruno BELANYI ed745602a1 modules: secrets: move non-existent key workaround
Since this configuration was only there to accommodate `aramis`, make it
be host-specific instead, and rely on the default value otherwise.
2023-04-16 19:44:02 +01:00
Bruno BELANYI 6079485b50 modules: secrets: move host-specific secrets 2023-04-16 19:44:02 +01:00
Bruno BELANYI 57008bcb7c hosts: nixos: add host-specific secrets module
This is the same logic as the common module, but for secrets that don't
need to be shared to different hosts.
2023-04-16 19:44:02 +01:00
Bruno BELANYI 34a3f9a0d6 modules: secrets: centralize agenix keys
If I intend on splitting the keys depending on which host needs to have
access to it, I should have a singular spot to manage the keys.
2023-04-16 19:44:02 +01:00
Bruno BELANYI 68bf36c45c modules: secrets: wireguard: remove unused file
The peer definitions have been inlined into the Wireguard module a long
time ago.
2023-04-13 17:05:52 +00:00
Bruno BELANYI 54e9303319 modules: secrets: use diff-friendly formatting
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-04-13 15:55:34 +00:00
Bruno BELANYI 04f23976ee modules: services: woodpecker: remove unused env
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-04-13 15:24:34 +00:00
Bruno BELANYI 94141d53b8 modules: services: woodpecker: remove 'TODO' 2023-04-13 15:17:16 +00:00
Bruno BELANYI 81f930168a flake: use 'defaultSystems'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Instead of writing a list which amounts to the same thing.
2023-04-12 16:50:51 +00:00
Bruno BELANYI 520d799124 pkgs: remove 'pnpm-lock-export'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
I don't need it now that it has been upstreamed.
2023-04-11 22:31:29 +01:00
Bruno BELANYI 0e5d40ef7f pkgs: woodpecker: add 'pnpm-lock-export' to update
Now that it has been upstreamed.
2023-04-11 22:31:28 +01:00
Bruno BELANYI e8a31ddf8c flake: bump inputs 2023-04-11 22:31:28 +01:00
Bruno BELANYI 7b117d76de overlays: remove 'i3status-rust-main-program'
It is now included upstream.
2023-04-11 22:31:28 +01:00
Bruno BELANYI b3e75b374a templates: add c++-meson 2023-04-11 22:31:28 +01:00
Bruno BELANYI 9822b034f7 templates: add c++-cmake 2023-04-11 16:26:56 +00:00
Bruno BELANYI 951770904f flake: add templates 2023-04-04 15:53:09 +00:00
Bruno BELANYI 9781ef06b0 home: wm: i3bar: better 'battery' formats
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-04-01 20:29:23 +01:00
Bruno BELANYI 72dd9ae834 home: wm: i3bar: fix 'battery' block icon 2023-04-01 20:29:23 +01:00
Bruno BELANYI f15b3aa23d modules: services: woodpecker: allow setuid
All checks were successful
ci/woodpecker/push/check Pipeline was successful
I need it to be able to use `ssh-agent`, for some of my workflows.
2023-04-01 21:06:50 +02:00
Bruno BELANYI 0da267664c ci: remove Drone CI
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-04-01 17:14:13 +01:00
Bruno BELANYI 85f7a34d85 ci: add Woodpecker CI workflow
Some checks failed
continuous-integration/drone/push Build is failing
ci/woodpecker/push/check Pipeline was successful
2023-04-01 16:41:00 +01:00
Bruno BELANYI 29a1a48d19 pkgs: matrix-notifier: 0.2.0 -> 0.3.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-01 16:33:43 +01:00
Bruno BELANYI ffd3fb06bd pkgs: refactor 'sha256' -> 'hash' 2023-04-01 16:33:26 +01:00
Bruno BELANYI eb34d23e3d pkgs: lohr: 0.4.0 -> 0.4.2 2023-04-01 16:32:04 +01:00
Bruno BELANYI 8fa1b9952c pkgs: remove 'rofi-bluetooth'
Now that it is packaged upstream.
2023-04-01 16:22:08 +01:00
Bruno BELANYI f9ddcff5ee home: wm: i3: use upstream 'rofi-bluetooth' 2023-04-01 16:20:55 +01:00
Bruno BELANYI f6d648a87a pkgs: remove 'nolimips'
Now that the CRI packages it.
2023-04-01 16:20:29 +01:00
Bruno BELANYI 1221d5b6d6 pkgs: remove 'havm'
Now that the CRI packages it.
2023-04-01 16:20:05 +01:00
Bruno BELANYI 7a5842f03a modules: services: matrix: remove obsolete comment
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-01 15:56:48 +01:00
Bruno BELANYI 8d0f29bd33 hosts: nixos: porthos: services: set matrix secret 2023-04-01 15:56:48 +01:00
Bruno BELANYI d20e921e33 modules: secrets: fix 'matrix/secret' 2023-04-01 15:56:48 +01:00
Bruno BELANYI f306cc84bc hosts: nixos: porthos: services: enable woodpecker 2023-04-01 15:56:48 +01:00