Bruno BELANYI
5ffe2653c0
home: vim: git: work around partial staging issue
...
See [1].
[1]: https://github.com/lewis6991/gitsigns.nvim/issues/929
2024-07-19 11:38:54 +00:00
Bruno BELANYI
5592a120a4
home: vim: git: use 'partial'
2024-07-19 11:38:54 +00:00
Bruno BELANYI
bcd9a31bb8
home: vim: lua: utils: add 'partial'
...
Love me some functional goodness.
This was taken from [1].
[1]: https://reddit.com/r/lua/comments/fh2go5
2024-07-19 11:36:26 +00:00
Bruno BELANYI
966934a8bc
home: vim: git: use lua in hunk mappings
2024-07-19 11:36:26 +00:00
Bruno BELANYI
88e4d72366
home: vim: git: use lua in visual mappings
...
I thought the partial staging feature had broken, but it looks to be
unrelated [1].
[1]: https://github.com/lewis6991/gitsigns.nvim/issues/1088
2024-07-19 11:36:26 +00:00
Bruno BELANYI
16d68022eb
home: vim: enable swap and undo files
...
ci/woodpecker/push/check Pipeline was successful
Trying it on for size, since NeoVim does use XDG directories for those.
2024-07-12 19:13:09 +01:00
Bruno BELANYI
0de9966127
home: vim: remove redundant 'nobackup'
...
It's already the default.
2024-07-12 19:13:09 +01:00
Bruno BELANYI
452399ee4c
home: vim: oil: add detail view toggle mapping
2024-07-12 19:12:58 +01:00
Bruno BELANYI
6a6f3aed63
home: vim: migrate to 'oil.nvim'
2024-07-12 19:12:12 +01:00
Bruno BELANYI
04de570926
home: atuin: add 'package' option
ci/woodpecker/push/check Pipeline was successful
2024-07-08 13:29:08 +00:00
Bruno BELANYI
1644e95243
home: discord: add 'package' option
ci/woodpecker/push/check Pipeline was successful
2024-07-08 13:12:38 +00:00
Bruno BELANYI
abb78d63e2
home: calibre: add 'package' option
2024-07-08 13:12:38 +00:00
Bruno BELANYI
4943df69ef
home: gdb: add 'package' option
2024-07-08 13:12:38 +00:00
Bruno BELANYI
f11cdb3675
home: gdb: use 'mkPackageOption'
2024-07-08 13:10:07 +00:00
Bruno BELANYI
dc90e14e60
home: vim: lspconfig: add 'starpls'
ci/woodpecker/push/check Pipeline was successful
2024-07-01 09:59:41 +00:00
Bruno BELANYI
b895265537
nixos: hardware: graphics: fix renamed option
ci/woodpecker/push/check Pipeline was successful
2024-06-28 18:10:59 +01:00
Bruno BELANYI
b73f6af5e0
nixos: services: flood: use upstream module
ci/woodpecker/push/check Pipeline was successful
2024-06-21 15:40:34 +00:00
Bruno BELANYI
c2362795d8
flake: bump inputs
...
Fixup `bash-language-server` which has been migrated out of `nodePackages`.
2024-06-21 15:40:34 +00:00
Bruno BELANYI
468eaa9ed4
home: nixpkgs: use 'escapeShellArg'
ci/woodpecker/push/check Pipeline was successful
2024-06-18 13:13:42 +00:00
Bruno BELANYI
eb94fca939
home: nix: use 'nix.nixPath'
...
ci/woodpecker/push/check Pipeline was successful
Freshly merged upstream, I've only been waiting ~1 year for it.
2024-06-18 09:21:42 +00:00
Bruno BELANYI
9ab49e06f9
nixos: hardware: graphics: add 32bit Intel drivers
ci/woodpecker/push/check Pipeline was successful
2024-06-17 10:17:15 +00:00
Bruno BELANYI
7c61d6dffc
nixos: hardware: graphics: use AMDVLK options
2024-06-17 10:12:05 +00:00
Bruno BELANYI
6a9ac77b0c
nixos: hardware: bluetooth: remove pipewire conf
...
ci/woodpecker/push/check Pipeline was successful
Turns out the wireplumber configuration I was setting up is redundant
with the upstream default (which work better, becomes they use a quirks
database...).
It was also out-of-date due to the update to v0.5, which changed the
configuration format...
2024-06-14 21:19:07 +01:00
Bruno BELANYI
d37c767a2f
nixos: services: forgejo: fix deprecated config
ci/woodpecker/push/check Pipeline was successful
2024-06-12 21:29:19 +02:00
Bruno BELANYI
10a7111f1c
nixos: services: mealie: fix DB auth
...
Turns out the package update [1] was because someone couldn't make it
work on the previous version, and added a new setting to configure it
more easily :-).
[1]: https://github.com/NixOS/nixpkgs/pull/314294
2024-06-12 21:28:41 +02:00
Bruno BELANYI
c08c8c79d3
home: firefox: tridactyl: fix DDG mapping
ci/woodpecker/push/check Pipeline was successful
2024-06-10 12:53:13 +00:00
Bruno BELANYI
82a0c65901
home: firefox: tridactyl: add LWN comment toggle
...
Ideally, I would instead be targeting the `::before` pseudo-element,
which is the _actual_ button, but it doesn't work...
2024-06-10 12:48:33 +00:00
Bruno BELANYI
442d267ca2
home: vim: lsp: add missing type hint
2024-05-28 13:49:00 +00:00
Bruno BELANYI
b90da603b1
home: nix: fix typo
ci/woodpecker/push/check Pipeline was successful
2024-05-28 11:36:18 +00:00
Bruno BELANYI
e0b66e89f9
home: vim: ftplugin: remove bp
...
It's now part of the upstream runtime as of v0.10, so this file is
redundant and can be removed.
2024-05-24 14:39:55 +01:00
Bruno BELANYI
212f280d92
home: vim: remove commenting plug-ins
...
Rely on the new built-in support which was added upstream as part of
v0.10.
Crucially, upstream supports using tree-sitter aware comment strings by default.
2024-05-24 14:39:55 +01:00
Bruno BELANYI
cc82d7575f
home: vim: do not set 'termguicolors' explicitly
...
Rely on the new behaviour from v0.10 which detects it more
intelligently.
2024-05-24 14:39:55 +01:00
Bruno BELANYI
a60287f8cf
home: vim: remove 'nvim-osc52'
...
OSC52 supports has been added upstream, and is set up automatically when
`SSH_TTY` is set (and a few other conditions) in v0.10.
2024-05-24 14:39:55 +01:00
Bruno BELANYI
201fabbc14
home: vim: remove redundant ftdetect files
...
These have been added upstream and made redundant as part of the update
to v0.10.
2024-05-24 14:39:55 +01:00
Bruno BELANYI
89056e3d5d
home: vim: lspconfig: migrate to 'ruff'
...
ci/woodpecker/push/check Pipeline was successful
This replaces and enhances the experience from the old `ruff-lsp`
wrapper.
2024-05-23 22:38:55 +01:00
Bruno BELANYI
1cba7b609d
home: vim: null-ls: remove 'clang-format'
...
ci/woodpecker/push/check Pipeline was successful
I should be relying on `clangd` instead, which should always be
available whenever `clang-format` was.
2024-05-13 14:29:19 +00:00
Bruno BELANYI
811a9f44c5
home: vim: ftplugin: add json
ci/woodpecker/push/check Pipeline was successful
2024-05-10 09:36:09 +00:00
Bruno BELANYI
f6c476a07f
nixos: services: postgres: add post-upgrade advice
ci/woodpecker/push/check Pipeline was successful
2024-05-07 11:40:11 +00:00
Bruno BELANYI
0745e450b9
nixos: services: postgres: remove unused container
2024-05-07 11:40:11 +00:00
Bruno BELANYI
48beb9f1fe
nixos: services: postgres: simplify update script
2024-05-07 11:21:28 +00:00
Bruno BELANYI
6162f4f4d5
modules: services: nextcloud: bump to 29
ci/woodpecker/push/check Pipeline was successful
2024-05-04 22:51:11 +02:00
Bruno BELANYI
8d2cf7f2c0
nixos: profiles: laptop: fix renamed option
2024-05-04 16:06:57 +02:00
Bruno BELANYI
2dedb41a47
nixos: services: add audiobookshelf
2024-04-22 21:00:00 +02:00
Bruno BELANYI
5df0574f41
nixos: services: podgrab: add 'dataDir'
2024-04-22 21:00:00 +02:00
Bruno BELANYI
c18054cad7
nixos: services: podgrab: use 'media' group
2024-04-22 20:59:09 +02:00
Bruno BELANYI
b735eb4b98
home: direnv: set 'DIRENV_DEFAULT_FLAKE' as needed
ci/woodpecker/push/check Pipeline was successful
2024-04-19 11:22:15 +00:00
Bruno BELANYI
6a22a80d42
home: direnv: update default flake
...
Now that I (usually?) override `nixpkgs` in the registry, there's not
much use in defaulting to `pkgs`.
2024-04-19 11:22:15 +00:00
Bruno BELANYI
95c688766f
home: vim: ftplugin: add bp
2024-04-19 11:22:15 +00:00
Bruno BELANYI
3e6b9f7161
home: vim: ftdetect: add bp
...
Unfortunately, the `blueprint` filetype name is already taken...
2024-04-12 10:03:28 +00:00
Bruno BELANYI
6efe2c12ba
nixos: services: woodpecker: exec: fix NodeJS
...
ci/woodpecker/push/check Pipeline was successful
I need it for Tree Sitter support...
2024-04-08 21:19:54 +02:00
Bruno BELANYI
6b51b4e2ab
nixos: services: rss-bridge: fix deprecated option
ci/woodpecker/push/check Pipeline was successful
2024-04-07 13:30:40 +02:00
Bruno BELANYI
8f120e2129
nixos: services: lohr: fix SSH key creation
...
ci/woodpecker/push/check Pipeline was successful
In the migration to `tmpfiles.d(5)`, I used the wrong type of file.
Using `f` would write the path to the file as its content, rather than
copy it. Unfortunately `C` and `C+` do not overwrite an existing file,
so using a symlink it the correct solution here.
This means the SSH key file must have `lohr` as an owner... Perhaps I
should make it so the service can read the file itself, rather than
rely on the filesystem location, so that I don't have to contort myself
quite so much to make it work.
2024-04-02 12:25:34 +02:00
Bruno BELANYI
607aa5351c
nixos: services: tandoor-recipes: fix bulk upload
ci/woodpecker/push/check Pipeline was successful
2024-03-22 22:03:53 +01:00
Bruno BELANYI
61fa35093c
nixos: services: mealie: fix bulk upload
2024-03-22 22:03:53 +01:00
Bruno BELANYI
4a01a50532
flake: bump inputs
...
ci/woodpecker/push/check Pipeline was successful
And fix the update `pinentry` options in home-manager.
2024-03-16 19:49:00 +01:00
Bruno BELANYI
10b4e6ce2d
home: vim: explicitly revert diff highlighting
2024-03-14 10:56:08 +00:00
Bruno BELANYI
0ff8366105
home: vim: fix path high-lighting
...
ci/woodpecker/push/check Pipeline was successful
It was previously linked to `Underlined`, which just looks plain wrong
IMO.
This links it back to `GruvboxOrange`, as it used to be.
2024-03-13 13:08:57 +00:00
Bruno BELANYI
d365aba3c0
home: vim: lua: utils: remove 'dump'
...
ci/woodpecker/push/check Pipeline was successful
It's now available as 'vim.print'.
2024-03-12 15:13:20 +00:00
Bruno BELANYI
b16b6a534b
home: vim: lua: lsp: use 'vim.print'
2024-03-12 15:11:11 +00:00
Bruno BELANYI
070df03b7e
home: vim: lua: utils: allow querying all clients
ci/woodpecker/push/check Pipeline was successful
2024-03-12 12:42:21 +00:00
Bruno BELANYI
0108b06a02
home: vim: lualine: use explicit buffer number
...
I want to tighten the API of this function a little bit, so let's be
more specific.
2024-03-12 12:40:49 +00:00
Bruno BELANYI
56e158f5c5
home: vim: lua: utils: fix deprecated function
2024-03-12 12:40:26 +00:00
Bruno BELANYI
4a8981c7b4
home: vim: lua: utils: fix documentation
2024-03-12 12:38:38 +00:00
Bruno BELANYI
07eca729f5
home: vim: null-ls: fix 'nixpkgs-fmt' condition
...
ci/woodpecker/push/check Pipeline was successful
I haven't configured `nil` to format anything.
And I don't really care to, this is good enough for me.
2024-03-12 11:31:20 +00:00
Bruno BELANYI
b24d299f70
home: xdg: move 'gdb' variables to their module
ci/woodpecker/push/check Pipeline was successful
2024-03-12 10:16:45 +00:00
Bruno BELANYI
f06e99d95b
home: xdg: move 'less' variables to their module
2024-03-12 10:16:45 +00:00
Bruno BELANYI
3fb758028c
home: vim: lspconfig: remove 'rnix-lsp'
...
It's been abandoned, `nil` is a better language server nowadays.
2024-03-12 10:16:45 +00:00
Bruno BELANYI
276cc7e5f2
home: xdg: add '_JAVA_OPTIONS'
2024-03-11 17:32:54 +01:00
Bruno BELANYI
b2dc051e6a
flake: bump inputs
...
And fix the breaking changes in Vikunja (which actually make my
configuration simpler).
2024-03-11 17:32:54 +01:00
Bruno BELANYI
dc27b59912
home: vim: lspconfig: migrate to 'bashls'
...
Since `none-ls` has removed their `shellcheck` built-in. This actually
makes the diagnostics more robust to POSIX/non-POSIX scripts (the LSP
server detects it at runtime, which is more robust than the `ftdetect`
scripts).
Nice bonus: the shellcheck code is shown in the diagnostics message
without any configuration!
I'm not sure if I can configure `avoid-nullary-conditions` -- though it
seems like this check is broken at the moment (I couldn't get it to
trigger during my tests).
2024-03-11 17:32:54 +01:00
Bruno BELANYI
7a3e64f814
home: vim: lspconfig: add 'hls'
...
If I ever end up actually learning it...
2024-03-11 17:32:54 +01:00
Bruno BELANYI
f13a6fb023
home: vim: lspconfig: add 'ruff-lsp'
...
Since everybody is moving towards using it instead of other linters...
2024-03-11 17:32:54 +01:00
Bruno BELANYI
30247ce3a0
home: vim: null-ls: fix deprecated builtins
...
`none-ls` deprecated a lot of unmaintained builtins, or ones that they
find has been replaced by a compete LSP server.
This removes those deprecated builtins, or uses a shim until I migrate
to the relevant LSP configuration (for `bash-language-server`).
2024-03-11 17:32:54 +01:00
Bruno BELANYI
6140e1c8f9
nixos: services: lohr: migrate to tmpfiles
...
This is better than a custom script.
2024-03-11 17:32:54 +01:00
Bruno BELANYI
5d3160fb0d
hosts: nixos: porthos: migrate to new host
...
OVH/Kimsufi are deprecating my current server by the end of the year. So
let's migrate to a new host.
This was more painful than initially planned, OVH introduced a change to
their rescue system which messes with the NixOS installation [1].
In the end I used a kexec image [2] to run the installation.
[1]: https://github.com/NixOS/nix/issues/7790
[2]: https://github.com/nix-community/nixos-images
2024-03-11 17:32:54 +01:00
Bruno BELANYI
0f33dbd5c2
hosts: nixos: porthos: switch to forgejo
...
This required a quick rename to migrate from one to the other.
2024-03-11 17:32:54 +01:00
Bruno BELANYI
f3207468f9
nixos: services: woodpecker: configurable forge
2024-03-11 17:32:54 +01:00
Bruno BELANYI
c1ffe09631
nixos: services: add forgejo
2024-03-11 17:32:54 +01:00
Bruno BELANYI
8591fb8b35
home: tmux: expand history limit
2024-03-11 16:03:53 +00:00
Bruno BELANYI
22139bd69f
home: tmux: add hyperlinks support
...
Somewhat unfortunate that those have to be enabled by force, but easy
enough to support.
2024-03-11 16:03:53 +00:00
Bruno BELANYI
742b4c39a2
home: tmux: migrate to 'terminalFeatures'
...
There are other terminal capabilities I want to override in tmux, so
let's make this type more extensible.
2024-03-11 16:03:53 +00:00
Bruno BELANYI
a4e742bf55
nixos: services: blog: fix catch-all redirection
...
Don't use a hard-coded address...
2024-03-11 16:03:53 +00:00
Bruno BELANYI
d423a03663
nixos: services: gitea: fix mail 'FROM' address
ci/woodpecker/push/check Pipeline was successful
2024-03-05 14:20:57 +00:00
Bruno BELANYI
40d1b39837
nixos: services: gitea: update mail configuration
ci/woodpecker/push/check Pipeline failed
2024-03-05 14:17:30 +00:00
Bruno BELANYI
ed15e62e1d
nixos: services: gitea: use 'git' group
ci/woodpecker/push/check Pipeline was successful
2024-03-05 12:53:32 +00:00
Bruno BELANYI
a3afafd9e0
nixos: services: add mealie
2024-03-05 12:43:22 +00:00
Bruno BELANYI
4d25609b26
nixos: system: nix: expand trusted users
2024-03-05 12:43:22 +00:00
Bruno BELANYI
b9b47fffd6
flake: bump inputs
...
ci/woodpecker/push/check Pipeline was successful
Fix the pyLoad user/group option that I added upstream [1].
Fix an evaluation error due to Pipewire changes [2].
[1]: https://github.com/NixOS/nixpkgs/pull/287304
[2]: https://github.com/NixOS/nixpkgs/pull/282377
2024-02-29 12:20:53 +00:00
Bruno BELANYI
eb668525f8
home: zsh: ignore more commands for notification
2024-02-23 13:14:09 +00:00
Bruno BELANYI
c5e5bee206
home: git: enable 'rerere'
...
ci/woodpecker/push/check Pipeline was successful
How did I not already have it enabled?
2024-02-16 19:05:02 +00:00
Bruno BELANYI
b2a199c9a0
home: nix: fix cache configuration
...
ci/woodpecker/push/check Pipeline was successful
Copy-paste is bad kids, the home-manager module does *not* do the same
as NixOS.
I was rebuilding the world, since this was overriding the official Hydra
cache...
2024-02-15 17:09:56 +00:00
Bruno BELANYI
a0dde6f274
home: zsh: add notification exclusion list
ci/woodpecker/push/check Pipeline was successful
2024-02-15 16:33:46 +00:00
Bruno BELANYI
08f31c088b
home: atuin: explicitly set 'enter_accept'
ci/woodpecker/push/check Pipeline was successful
2024-02-13 14:34:27 +00:00
Bruno BELANYI
d6c2948135
home: zsh: add 'zsh-done'
2024-02-13 11:32:44 +00:00
Bruno BELANYI
c89dec2a38
home: zsh: enforce order of 'initExtra{First,}'
...
In case I want to add more values to those options, I still want the
_main_ values to be ordered before/after.
2024-02-12 20:59:52 +00:00
Bruno BELANYI
521522e4e9
home: zsh: use 'mkMerge'
...
This will make adding modular configuration easier.
2024-02-12 20:59:52 +00:00
Bruno BELANYI
c9969775da
nixos: services: backup: add essential files
ci/woodpecker/push/check Pipeline was successful
2024-02-12 14:21:17 +00:00
Bruno BELANYI
0bb2be6b87
home: nix: add 'cache.selfHosted'
...
ci/woodpecker/push/check Pipeline was successful
Once again mirroring the NixOS module changes that I forgot to port
over.
2024-02-12 11:40:28 +00:00
Bruno BELANYI
7f17069998
home: nix: rename 'inputs' options
...
This mirrors the changes made to the NixOS module.
2024-02-12 11:40:28 +00:00
Bruno BELANYI
b0aee235cd
home: xdg: add 'GRADLE_USER_HOME'
ci/woodpecker/push/check Pipeline was successful
2024-02-11 11:26:05 +00:00