51 Commits

Author SHA1 Message Date
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
7b2e71ab9c feat(tmux): improve tmux config (#36)
Comment unused settings and plugins.

Reviewed-on: #36
2024-04-08 18:23:06 +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
dcd86789e7 feat: make iteasier to create/apply patch file for kickstart.nvim's init.lua (#27)
Add Makefile with the operations to fetch and apply patches to kickstart.nvim.

Reviewed-on: #27
2024-02-10 22:28:29 +00:00
b56ca7a358 feat(nvim): update configuration (#26)
1. Update _patch_ for the latest commit in `kickstart.nvim`
2. Set monochromatic color scheme
3. Use `nvim-ufo` to handle folds
4. Re-order plugins alphabetically

Reviewed-on: #26
2024-02-01 12:51:41 +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
db09a2683b feat(nvim): add oil.nvim file explorer (#20)
Add [oil.nvim][0] file explorer to make it easier to handle folders and files.

[0]: https://github.com/stevearc/oil.nvim

Reviewed-on: #20
2023-12-21 14:06:53 +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
770d8c9005 feat(starship): add custom configuration (#13)
Reviewed-on: #13
2023-11-09 13:42:33 +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
de5004dbf5 fix(tmux): rename tmuxp configuration (#11)
Set proper naming for `tmuxp` configuration:

* `work.yml`: defines session for work-related panels
* `personal.yml`: defines session for personal related panels

Reviewed-on: #11
2023-10-30 12:20:23 +00:00
61f02a4236 fix(nvim): toggleterm keymap registration (#10)
Fix import for `which-key` and set the correct name for key mapping.

Reviewed-on: #10
2023-10-29 21:06:30 +00:00
4aafe2aa9c chore(rtx): upgrade runtimes (#9)
Upgrades:

* awscli .... from 2.13.5 to 2.13.30
* elixir .... from 1.15.6 to 1.15.7
* erlang .... from 26.1.1 to 26.1.2
* go ........ from 1.20.6 to 1.21.3
* helm ...... from 3.12.2 to 3.13.1
* kubectl ... from 1.27.4 to 1.27.7
* node ...... from 20.6.1 to 21.1.0
* poetry .... from 1.5.1 to 1.6.1
* python .... from 3.11.4 to 3.12.0
* terraform . from 1.5.4 to 1.6.2

Co-authored-by: Joao P Dubas <joao.dubas@gmail.com>
Reviewed-on: #9
2023-10-29 20:47:11 +00:00
093c3dc49f chore(neovim): move from iron.nvim to toggleterm (#8)
I use the terminal to access `repl` available in a `docker container`, or a remote one available in `kubernetes` or virtual machine.

Reviewed-on: #8
2023-10-29 20:46:14 +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
66a38e998a feat: configure renovate (#5)
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Reviewed-on: #5
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2023-10-26 00:43:04 +00:00
c5451471cc chore: upgrade elixir/erlang versions (#4)
Upgrade runtimes to latest versions:

* elixir from 1.15.4 to 1.15.6
* erlang from 26.0.2 to 26.1.1

Co-authored-by: Joao P Dubas <joao.dubas@gmail.com>
Reviewed-on: #4
2023-10-26 00:01:50 +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
2c083afa56 chore: add http and json to treesitter 2023-10-02 12:24:22 +00:00
Joao P Dubas
b814c3533d chore(nvim): add treesitter context plugin
Define a context line to show the context about the method/module one is
navigating.
2023-10-02 12:23:15 +00:00
Joao P Dubas
ed9e644fff fix(nvim): optionally register which-key prefix 2023-10-02 00:53:09 +00:00
Joao P Dubas
b5e9107739 fix: set mount destination for custom nvim config 2023-10-02 00:49:30 +00:00
Joao P Dubas
5d7635a7d2 chore: set custom tag for nvim 2023-10-02 00:05:13 +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