44 Commits

Author SHA1 Message Date
2b14724909 feat(tmux): add tmux-sessionizer to manage git sessions (#78)
Also made the following changes:

* update `docker`, `compose`, and `buildx`
* remove commented lines from `tmux` config
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-09-29 12:34:50 +00:00
dcda21f824 feat(nvim): migrate from toggleterm to slimux (#73)
Instead of using the native terminal available in `neovim` and the [toggleterm][0] extension, I'm migrating to [slimux][1] and `tmux` to share commands between terminals.

Co-authored-by: Joao P Dubas <joao.dubas@gmail.com>
Reviewed-on: #73

[0]: https://github.com/akinsho/toggleterm.nvim
[1]: https://github.com/EvWilson/slimux.nvim
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-09-17 11:32:59 +00:00
0f408f2c53 feat: upgrade runtimes/utilities + nvim config + docker (#54)
Upgrade `docker` and plugins:

* `docker` from 24.0.7 to 27.1.1
* `compose` from 2.23.3 to 2.29.1
* `buildx` from 0.13.1 to 0.16.2

Upgrade `mise` utilites:

* `awscli` from 2.15.49 to 2.17.31
* `bitwarden` from 2024.4.1 to 2024.7.2
* `dagger` from 0.11.4 to 0.12.5
* `eksctl` from 0.180.0 to 0.188.0
* `elixir` from 1.17.0-otp-27 to 1.17.2-otp-27
* `erlang` from 27.0 to 27.0.1
* `eza` from 0.18.15 to 0.19.0
* `fzf` from 0.52.1 to 0.53.0
* `go` from 1.22.3 to 1.23.0
* `helm` from 3.14.4 to 3.15.4
* `k3d` from 5.6.3 to 5.7.3
* `k3sup` from 0.13.5 to 0.13.7
* `k9s` from 0.32.4 to 0.32.5
* `kind` from 0.22.0 to 0.23.0
* `kubectl` from 1.300 to 1.31.0
* `kubie` from 0.23.0 to 0.23.1
* `lefthook` from 1.6.11 to 1.7.13
* `node` from 22.1.0 to 22.6.0
* `python` from 3.12.3 to 3.12.5
* `r` from 4.4.0 to 4.4.1
* `rust` from 1.78.0 to 1.80.1
* `starship` from 1.18.2 to 1.20.1
* `task` from 3.37.2 to 3.38.0
* `terraform` from 1.8.3 to 1.9.4
* `tilt` from 0.33.13 to 0.33.19
* `usql` from 0.19.1 to 0.19.3
* `yarn` from 1.22.19 to 1.22.22

Upgrade `neovim` config to latest commit.

Reviewed-on: #54
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-08-16 14:44:03 +00:00
abe2a91b0a fix: set proper alias for nh (#53)
Reviewed-on: #53
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-06-16 18:44:59 +00:00
9605631b51 feat: add moar lsp/aliases and upgrade neovim/runtimes (#52)
A lot of updates in my personal development environment:

## Additions

1. Command lines and runtimes:
   1. [`ctlptl`][2]: `cli` to make local `kubernetes` cluster management easier
   1. [`eksctl`][3]: `cli` to make `eks` cluster management easier
   1. [`r`][4]: software environment for statistical computing and graphics
   1. [`usage`][5]: specification for `cli`s, used by `mise`
1. Aliases:
   1. `dc`: for `docker compose`
   2. `k`: for `kubectl`
1. Moar `lsp`s:
   1. [`cuelsp`][8]: for the [`cue`][9], with [`dagger`][10] support
   1. [`jsonls`][11]: for `json` schemas
   1. [`r-languageserver`][12]: for the [`r`][4] environment
   1. [`yamlls`][13]: for `yaml` schemas
1. Auto-completion for:
   1. [`ctlptl`][2]
   1. [`eksctl`][3]
   1. `helm`
   1. `k3d`
   1. `k9s`
   1. `kubectl`
   1. `lefthook`
   1. `mise`

## Upgrades

1. Runtimes:
   1. [`elixir` from 1.16.2 to 1.17.0][0]
   1. [`erlang` from 26.2.5 to 27.0][1]
1. [`kickstart.nvim` to latest commit][6]
1. [Installation of `atuin`][7]

Reviewed-on: #52

[0]: https://elixir-lang.org/blog/2024/06/12/elixir-v1-17-0-released/
[1]: https://www.erlang.org/news/170
[2]: https://github.com/tilt-dev/ctlptl
[3]: https://eksctl.io/
[4]: https://www.r-project.org/
[5]: https://usage.jdx.dev/
[6]: 5aeddfdd5d
[7]: https://github.com/atuinsh/atuin?tab=readme-ov-file#install
[8]: https://github.com/dagger/cuelsp
[9]: https://cuelang.org/
[10]: https://dagger.io/
[11]: https://github.com/microsoft/vscode-json-languageservice
[12]: https://github.com/REditorSupport/languageserver
[13]: https://github.com/redhat-developer/yaml-language-server
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-06-16 18:25:22 +00:00
527157bac9 fix(mise): reference to luajit plugin (#49)
Reviewed-on: #49
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-05-20 16:43:30 +00:00
746be1e73c feat(nvim): upgrade to latest commit (#48)
Also, use `gitsigns` shortcuts delivered in `kickstart` repo.

Reviewed-on: #48
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-05-09 00:15:44 +00:00
544fb06424 fix(mise): set correct luaJIT plugin (#47)
Reviewed-on: #47
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-05-09 00:14:09 +00:00
b8dc17e7aa feat(mise): add circleci cli (#46)
No more invalid configuration files \o/

Reviewed-on: #46
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-05-08 23:17:23 +00:00
de9854ac41 feat(mise): enable .env file load through mise (#44)
Enable [`mise` autoload `.env`][0] feature in any directory.

Also, add [`kind`][1] for local `kubernetes` development.

Reviewed-on: #44

[0]: https://mise.jdx.dev/environments.html#env-file
[1]: https://kind.sigs.k8s.io/
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-05-07 12:28:41 +00:00
9672791093 feat(mise): add task runner (#42)
[Task][0] is a more straightforward and intuitive alternative to `make`.

[0]: https://taskfile.dev/

Reviewed-on: #42
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-05-06 11:57:23 +00:00
167ed5a169 feat(mise): add lua + luajit + luarocks (#41)
Reviewed-on: #41
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-05-06 11:53:21 +00:00
29cbabc833 chore(deps): update ubuntu docker tag to v24 (#40)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| ubuntu | final | major | `mantic-20240416` -> `24.04` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjIuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE2Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: #40
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-05-01 18:27:28 +00:00
7c9109833a chore(deps): update ubuntu docker tag to mantic-20240416 (#39)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| ubuntu | final | patch | `mantic-20240405` -> `mantic-20240416` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjIuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE2Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: #39
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-04-28 22:46:51 +00:00
4aa2ef470b chore(deps): update ubuntu docker tag to mantic-20240405 (#38)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| ubuntu | final | patch | `mantic-20240216` -> `mantic-20240405` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjIuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE2Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: #38
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-04-17 12:11:48 +00:00
bc3fc1b6b3 feat(nvim): add missing treesitter parsers (#37)
Also, upgrade kickstart to the latest commit.

Reviewed-on: #37
2024-04-08 18:24:28 +00:00
58d9533845 chore(mise): add rust/bitwarden plugins (#35)
Added `rust` and `bitwarden-cli` to:
* `Dockerfile`
* `mise` config

Reviewed-on: #35
2024-04-08 18:21:05 +00:00
f39a483978 feat: minor improvements in user setup and configuration (#34)
1. Avoid conflicts with extra groups by creating them before installing system dependencies
2. Enable ssh signature in git

Reviewed-on: #34
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-04-08 18:19:59 +00:00
4053044c33 chore(deps): update ubuntu docker tag to mantic-20240216 (#31)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| ubuntu | final | patch | `23.10` -> `mantic-20240216` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjIuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE2Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: #31
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-03-30 23:59:11 +00:00
e9e9462628 feat: install erlang system deps (#33)
Reviewed-on: #33
2024-03-30 22:36:26 +00:00
3f0d2cece1 feat(nvim): upgrade kickstart.nvim to latest commit (#32)
Reviewed-on: #32
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-03-29 20:32:55 +00:00
d9a33dc515 feat: upgrade ubuntu to 23.10 (#30)
In addition to upgrading ubuntu to 23.10, the following changes were made:

1. Use the latest commit from [kickstart.nvim][0]
2. Setup [atuin][1] to share `shell` history
3. Conditionally configure `git`, based on [`gitbutler` blog post][2]
4. Improve `tmux` colorscheme configuration, based on [tmux vim truecolor git by andersevenrud][3]
5. Update cli's installed by `mise`:
   * awscli to 2.15.30
   * dagger to 0.10.2
   * elixir to 1.16.2
   * erlang to 26.2.3
   * eza to 0.18.7
   * fzf to 0.48.1
   * go to 1.22.1
   * helm to 3.14.3
   * kubectl to 1.29.3
   * lefthook to 1.6.7
   * node to 21.7.1
   * poetry to 1.8.2
   * python to 3.12.2
   * terraform to 1.7.5
   * tilt to 0.33.11
   * usql to 0.17.5
   * zoxide to 0.9.4
6. Added the cli's:
   * k3sup
   * k9s
   * rust

[0]: https://github.com/nvim-lua/kickstart.nvim
[1]: https://github.com/atuinsh/atuin
[2]: https://blog.gitbutler.com/git-tips-1-theres-a-git-config-for-that/#conditional-configs
[3]: https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6

Reviewed-on: #30
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2024-03-28 00:18:20 +00:00
d8aa29893e feat: upgrade kickstart.nvim to latest commit (#28)
Also, fix an issue with the dry run patch target and improve the setup of different LSPs for elixir.

Reviewed-on: #28
2024-02-12 23:51:30 +00:00
2218dcbb19 feat: improve Dockerfile definition (#25)
Move frequently changed layers to the end.

Reviewed-on: #25
2024-02-01 12:44:55 +00:00
6feae34b63 feat: improve depedencies setup and upgrade tools to latest version (#24)
1. Migrate from `rtx` to `mise`
2. Set most of the tools using `mise`
   * Some tools, such as `starship` and `zoxide` are installed locally, so they are available at boot time
3. Improve `tmux` by adding
   * resurrect and continuum to record/restore sessions
   * better color scheme
4. Setup multiple `elixir-ls` releases using the same repository
5. Upgraded `kickstart.nvim` to latest version

Reviewed-on: #24
2024-01-14 19:00:37 +00:00
20c5f4f816 feat: upgrade runtimes and command lines (#23)
Upgrade runtimes and command lines to their latest versions:

* bat from 0.23.0 to 0.24.0
* ripgrep from 13.0.0 to 14.0.3
* docker from 24.0.6 to 24.0.7
* compose from v2.21.0 to v2.23.3
* awscli from 2.13.38 to 2.15.6
* elixir from 1.15.7-otp-26 to 1.16.0-otp-26
* erlang from 26.1.2 to 26.2.1
* go from 1.21.4 to 1.21.5
* helm from 3.13.2 to 3.13.3
* kubectl from 1.28.4 to 1.29.0
* lefthook from 1.5.3 to 1.5.5
* node from 21.2.0 to 21.5.0
* python from 3.12.0 to 3.12.1
* terraform from 1.6.4 to 1.6.6
* tilt from 0.33.10 to 0.33.6

And add missing tools:

* usql 0.17.2
* yarn 1.22.19

Reviewed-on: #23
2024-01-02 11:45:28 +00:00
5c381bdcbe feat(nvim): upgrade kickstart (#22)
Reviewed-on: #22
2023-12-31 11:48:14 +00:00
afd271eae5 feat: add gnu parallel (#21)
This allows one to execute commands in [parallel][0].

[0]: https://www.gnu.org/software/parallel/

Reviewed-on: #21
2023-12-21 14:08:37 +00:00
9cee421a21 chore(elixir): add elixir lsp for version 1.12 (#19)
Explicitly add an elixir lsp suitable to elixir version 1.12.

Reviewed-on: #19
2023-12-08 11:53:14 +00:00
39aeeffcf2 fix: alias definition in fish (#18)
Reviewed-on: #18
2023-11-24 19:06:09 +00:00
0800fe0c4c chore: upgrade system runtimes and clis(#17)
The following runtimes and cli's were upgraded:

* `awscli` from 2.13.30 to 2.13.38
* `go` from 1.21.3 to 1.21.4
* `helm` from 3.13.1 to 3.13.2
* `kubectl` from 1.27.7 to 1.28.4
* `lefthook` from 1.5.2 to 1.5.3
* `node` from 21.1.0 to 21.2.0
* `poetry` from 1.6.1 to 1.7.1
* `terraform` from 1.6.2 to 1.6.4
* `kickstart.nvim` to the latest version

Also, some additions were made:

* [`tilt`][0] to make it easier to handle multiple services.
* Map key to open terminal vertically in `neovim`
* Aliases to commands in `fish`

[0]: https://tilt.dev

Co-authored-by: Joao P Dubas <joao.dubas@gmail.com>
Reviewed-on: #17
2023-11-24 14:41:39 +00:00
6c1a8e92bc feat: add elixir-ls compatible with version 1.11 (#15)
1. Clone `elixir-ls` and set it to version [v0.12.0](https://github.com/elixir-lsp/elixir-ls/blob/master/CHANGELOG.md#v0120-7-november-2022)
2. Set up `neovim` to check `elixir` current elixir version and use the appropriate `elixir-ls`

Reviewed-on: #15
2023-11-13 11:33:09 +00:00
6f5f08e59a feat(nvim): uprade kickstart.nvim (#14)
Reviewed-on: #14
2023-11-10 15:07:53 +00:00
a8e07e47d0 chore(rtx): add lefthook plugin (#12)
[`lefthook`][0] is a githook manager for any project.

[0]: https://github.com/evilmartians/lefthook

Reviewed-on: #12
2023-11-07 10:47:31 +00:00
e9d47a7fcd chore: add openssl 1.1 shared lib (#7)
This version of `openssl` is needed to compile older versions of `erlang`.

Reviewed-on: #7
2023-10-29 20:45:20 +00:00
1675e4cd8a feat: customize user and group id on build time (#3)
Allow the user to set custom user and group IDs, so it maps the ones available in the host. Also, remove `jq` from `rtx` plugin list.
2023-10-25 23:30:02 +00:00
3293ae8a3e feat: add tmux and tmuxp (#1)
Allow terminal multiplexing through [`tmux`][0] and make it configurable using [`tmuxp`][1].

[0]: https://github.com/tmux/tmux
[1]: https://github.com/tmux-python/tmuxp

Co-authored-by: Joao P Dubas <joao.dubas@gmail.com>
Reviewed-on: #1
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2023-10-15 21:00:49 +00:00
fa879a6772 chore(nvim): upgrade kickstart.nvim (#2)
Upgrade kickstart.nvim to the latest commit, and adjust the patch to conform to the current state.

Co-authored-by: Joao P Dubas <joao.dubas@gmail.com>
Reviewed-on: #2
2023-10-15 19:46:17 +00:00
Joao P Dubas
3db60145ea fix: set shell env var to bash
This is needed to install elixir lsp.
2023-10-02 00:04:36 +00:00
Joao P Dubas
ea3b1a302e feat(nvim): use kickstart.nvim as base configuration
To make this effective, the following changes were made:

1. Patch `init.lua` to change common configurations
2. Implement custom configuration for plugins
2023-10-01 23:39:11 +00:00
Joao P Dubas
e8d45d7b77 feat: configure fish and bash
Configure both shells to use the similar commands and provide similar
experiences.
2023-10-01 23:35:32 +00:00
Joao P Dubas
cc9ff2d16e chore: upgrade rtx plugins
Also use default plugins for:
* go
* node
* python
2023-10-01 23:32:04 +00:00
Joao P Dubas
57aa1a80f7 feat: add docker + compose static binaries 2023-10-01 23:29:47 +00:00
Joao P Dubas
360b3507e6 feat: initial commit 2023-09-17 13:25:57 +00:00