Compare commits

..

15 commits

Author SHA1 Message Date
4aa239d976 home: vim: lspconfig: remove 'rnix-lsp'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
It's been abandoned, `nil` is a better language server nowadays.
2024-03-11 16:03:54 +00:00
ba8936dab0 home: xdg: add '_JAVA_OPTIONS' 2024-03-11 16:03:54 +00:00
7b765d5ba7 flake: bump inputs
And fix the breaking changes in Vikunja (which actually make my
configuration simpler).
2024-03-11 16:03:54 +00:00
a679826588 overlays: remove none-ls-shellcheck-nvim 2024-03-11 16:03:54 +00:00
9f4b5595e8 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 16:03:53 +00:00
174b1b515e home: vim: lspconfig: add 'hls'
If I ever end up actually learning it...
2024-03-11 16:03:53 +00:00
8cb51f788f home: vim: lspconfig: add 'ruff-lsp'
Since everybody is moving towards using it instead of other linters...
2024-03-11 16:03:53 +00:00
f9eb4aa6a7 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 16:03:53 +00:00
312b9157dc overlays: add none-ls-shellcheck-nvim 2024-03-11 16:03:53 +00:00
504da1935b nixos: services: lohr: migrate to tmpfiles
This is better than a custom script.
2024-03-11 16:03:53 +00:00
1fd16b87e0 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 16:03:53 +00:00
14aa80b993 hosts: nixos: porthos: switch to forgejo
This required a quick rename to migrate from one to the other.
2024-03-11 16:03:53 +00:00
ad6a2580d2 nixos: services: woodpecker: configurable forge 2024-03-11 16:03:53 +00:00
9fd8198b02 hosts: nixos: porthos: secrets: add forgejo mail 2024-03-11 16:03:53 +00:00
7c256e881a nixos: services: add forgejo 2024-03-11 16:03:53 +00:00

View file

@ -65,6 +65,8 @@ in
{
enable = true;
appName = "Ambroisie's forge";
user = "git";
group = "git";
@ -86,10 +88,6 @@ in
mailerPasswordFile = lib.mkIf cfg.mail.enable cfg.mail.passwordFile;
settings = {
DEFAULT = {
APP_NAME = "Ambroisie's forge";
};
server = {
HTTP_PORT = cfg.port;
DOMAIN = forgejoDomain;