Commit Graph

40 Commits

Author SHA1 Message Date
Hoang Nguyen 193c9ad7b3
Update hostname alpine-tp -> thorin
Consistently using LoTR for hostnames ^-^
Add initial flake.nix for disk configuration.
Remove amfora configuration (upstream is abandoned).
2024-04-06 00:00:00 +07:00
Hoang Nguyen 922733dcde
Merge sysconfig repo
The other repo is not large enough to be standalone, so include it here
as a single role.

More changes:
- Update onedark pallete (https://github.com/Binaryify/OneDark-Pro/blob/master/src/themes/data/oneDarkPro.ts)
- Fix ansible-lint warnings
2024-02-16 00:00:00 +07:00
Hoang Nguyen 6391745de2
gnupg: let ssh update GPG_TTY on every run 2024-02-12 00:00:00 +07:00
Hoang Nguyen 9822f8b08a
scripts: improve preview script
* Use the same script to preview everything for both fzf and vifm.
* Image preview works with fzf now.
* Solely rely on mimetypes instead of file extensions.
* Merge genfontimage script into the preview script
2024-02-07 00:00:00 +07:00
Hoang Nguyen 1549f55dfe
Remove tmux and qutebrowser config (not used anymore)
More changes:
- alacritty: switch config to TOML format
- options:
  - Go back to specify 1 variant of CJK fonts
  - Update user_agent
- fish: update Nord theme to be more aligned with upstream
- cava: update config to use pipewire as the default backend
- container: pull kcli container images
- packages/go: add regal, go-licenses (and remove some unused linters)
2024-01-06 00:00:00 +07:00
Hoang Nguyen 147365885c
apptainer: add symlinks for asciidoctor wrapper script 2023-11-15 00:00:00 +07:00
Hoang Nguyen 379519c832
nvim: move Neovim config to an external repo 2023-10-28 00:00:00 +07:00
Hoang Nguyen e9d702563b
Update package list and adjust some TODO milestones 2023-10-25 00:00:00 +07:00
Hoang Nguyen 20b95a4cde
nvim: remove null-ls
I can live fine (for now) without it. Will try out efm and other soon.
2023-09-27 00:00:00 +07:00
Hoang Nguyen 74f7752e81
xdg-desktop-portal: add config for new flatpak 2023-09-10 00:00:00 +07:00
Hoang Nguyen a38a5b5c7a
nvim: switch from leap.nvim + flit.nvim to flash.nvim 2023-07-24 00:00:00 +07:00
Hoang Nguyen ea7119287a
nvim: add volar and svelte lsp servers 2023-06-24 00:00:00 +07:00
Hoang Nguyen 9d624a0048
nvim: re-add nvim-cokeline as a tabline option
heirline's way of making buflist is quite complicated to my taste.

Also add more LSP servers.
2023-06-14 00:00:00 +07:00
Hoang Nguyen 708b6c13c0
nvim: finish winbar + statusline config using heirline.nvim 2023-06-13 00:00:00 +07:00
Hoang Nguyen fdd33df26e
nvim: complete config rewrite
Use lazy.nvim instead of packer.nvim. There are still a few missing
pieces (winbar, statusline and bufferline), but it is usable now.
2023-05-07 00:00:00 +07:00
Hoang Nguyen 485470f517
Add imv and lazygit config
Also:
- fix errors reported by ansible-lint.
- simplify starship config
- add image_viewer configuration variable
- update ltex-ls to 16.0.0
- remove git status in bash shell prompt
2023-05-06 00:00:00 +07:00
Hoang Nguyen e62ac53d45
Overhaul icon set due to Nerdfont v3.0.0
Also:
- list all components in starship config
- remove qtcreator (qmlls exists)
- fish: back to source /etc/profile file with replay.fish (there are
  some nasty programs putting stuff there, e.g. nushell, nix)
- rename term_font from 'Iosevka Nerd Font' to 'IosevkaTerm Nerd Font'
2023-05-03 00:00:00 +07:00
Hoang Nguyen 01e4b35592
Add Apptainer container for Bazel
Other stuff:
- Clean up foot and aerc config (only contain non-default settings now)
- Clean up Neovim plugins in TODO list
- Rename `podman` role to `containers`
- packages: add some helm plugins
2023-04-30 00:00:00 +07:00
Hoang Nguyen f170d8f29f
gallery-dl: add nitter config + tweak download path for mastodon
Also:
- vifm: use cyan instead of purple for window bar (more comfy)
- fish: add ghq_cd function
- mopidy: add some config I might be interested in
2023-04-20 00:00:00 +07:00
Hoang Nguyen 11e77e3675
Remove `default_browser` variable and go-s config
=> bring back the old searchmenu script ^-^ for simplicity
=> just hardcode xdg-open for web link (need xdg-utils)

- pyradio, alacritty: update config for newer version
- weechat:
  - remove wee-slack (Slack is so terrible using it inside the
    terminal is much worse (blame the API :>))
  - add my nick on OFTC (just hanging out on AlpineLinux's channels)
- scripts: add `fake-lua` script to display Lua version in Starship
  prompt (kudos to https://github.com/wangl-cc/dotfiles)
- TODO: remove stuff as I'm working on my new Neovim config right now
2023-04-02 00:00:00 +07:00
Hoang Nguyen a468fb814b
git: add gitsign option alongside openpgp and ssh
Upstream some Go packages to AlpineLinux repo.
2023-03-06 00:00:00 +07:00
Hoang Nguyen 0e6916b306
Regular update
- scripts: drop mpvpaper from wallpaper script (doesn't support chaining
  outputs yet)
- config: add fcitx5
- fish: disable GOSUMDB, GOTELEMETRY + disable version check/checkpoint
  for Hashicorp's products
2023-02-12 11:00:00 +07:00
Hoang Nguyen 48897d684d
git: colorize diff and some more tweaks 2023-01-28 11:00:00 +07:00
Hoang Nguyen 6533d10ba5
First commit of the New Year's Cat
- Add SSH sign option for Git (Gitlab 15.7 supports this now)
- Clean packages I don't use
- Minor updates to Neovim config
- Fix fish_user_key_bindings
- Fix git-fork script
- Add Python packages (installed with pip)
2023-01-28 11:00:00 +07:00
Hoang Nguyen cd5ba40970
Keep things up to date
- fish: add new syntax on version 3.6.0, use default key bindings as
  much as possible
- refactor Ansible copy module in a couple of places
- add calcurse task (mainly for my job)
- preview scripts:
  - add *lowdown* as an alternative for *glow* and *mdcat*
  - fallback to *bat* to preview JSON file when *jq* and *python* fail
- starship: use blue color for K8s module (cyan is confusing with
  directory module)
- flatpak: drop Whalebird (I use Tokodon now)
- gallery-dl: scanned through configuration docs once in a while
2023-01-08 11:00:00 +07:00
Hoang Nguyen f188184737
Updates here and there after a while
- Install fonts
- Update browser's user agent
- Add gopass config file
- Compile some more Go packages
2023-01-02 11:00:00 +07:00
Hoang Nguyen 51523f6af9
Replace yarn with pnpm
Because yarn berry (v2) sucks (with standalone JS scripts).

More changes:
- Use git-forgit script instead of forgit fish plugin. Also update
  forgit config (via fish env) along the way.
- mpv:
  - fix ModernX script URL (was MordenX before)
  - set path to alass-cli for autosubsync script
- nvim: use 'case..esac' for lsp install script (a bunch of if..else is
  ugly).
2022-12-05 11:00:00 +07:00
Hoang Nguyen ddabd0d266
Mostly neovim stuff
- nvim:
  - Migrate deprecated stuff to 0.8.1 (lsp formatting)
  - load ansiblels on yaml.ansible files only
  - winbar finally looks ok
  - decouple mappings for autocmd
  - add nvim-fundo, ssr.nvim
  - feline: put color config into themes directory
  - add some more LSP servers: awk_ls, astro, tflint
  - nord: add more highlight groups
- swww: remove deprecated --transition-speed argument
- scripts: update containerd-rootless.sh URL
- packages: add kubeconform, gophie, oauth2l, d2
2022-12-04 11:00:00 +07:00
Hoang Nguyen 74ddc3c8c8
Deal with Python 3.11 update
- mpv:
  - remove ffsubsync (use alass backend for autosubsync instead).
    I'll wait until ffsubsync at least update its dependencies
  - add thumbfast script (compatible with mpv-mordenx)
- anime-downloader: move to animdl
- packages: community.general.packaging.* is deprecated
2022-11-26 11:00:00 +07:00
Hoang Nguyen c9543f4e56
fish: remove replay.fish plugin
Settings sourced from /etc/profile and /etc/profile.d/* is now
replicated within user fish config.

XDG_DATA_DIRS doesn't need to be set as flatpak package provides
/usr/share/fish/vendor_conf.d/flatpak.fish file.
2022-11-22 11:00:00 +07:00
Hoang Nguyen f8383f54ae
mpv: remove pipewire-buffer option 2022-11-16 11:00:00 +07:00
Hoang Nguyen 0704fd92fa
Change the way to import colors
- All color variables is now nested inside 'colors.' field instead of
  being global.
- fish: avoid update for kopia
- newsboat: add cloudflare and dudemanguy blogs
- preview scripts: indent with tabs
- go-packages: add tfline, kubestr, kubectl-trace, oras-cli; remove fish completions
- flatpak: add whalebird-desktop
- waybar: add workaround for 0.9.15 GtkButton regression
2022-11-06 11:00:00 +07:00
Hoang Nguyen e5708b6fcd
scripts: improve notification scripts
- Add notifymenu script to execute notification actions
- Add key binding in sway, river for notifymenu script
- Drop unnecessary tostring() call in volumecontrol script
- Fix URLs for sound theme packages (oss-ch.info -> www.oss-ch.jp)
2022-10-30 11:00:00 +07:00
Hoang Nguyen 33603b1d48
scripts: use wpctl directly for volumecontrol script 2022-10-29 11:00:00 +07:00
Hoang Nguyen d1a6a6c5dd
superd: refactor dependencies
Too many services depended on pipewire.service so some failed to start
along the way (mpDris2, pipewire-pulse).

NOTE: waybar.service has pulseaudio module blank if it is started before
pipewire-pulse.service, but a manual restart is not too bothersome.
2022-10-23 11:00:00 +07:00
Hoang Nguyen badeebcde1
Super long list of changes
- ansible:
  - use "true, false" instead of "yes, no" (yamllint is annoying)
  - use community.general.packaging.? module paths instead of plain
    community.general.?
- nvim:
  - lazy-load which-key.nvim
  - add experimental winbar inside feline.nvim
  - replace nvim-colorizer.lua with ccc.nvim
  - load bufferline.nvim stuff conditionally (plugins, keymaps)
  - clean up telescope keymap I rarely use
  - improve path completion for nvim-cmp with nvim-web-devicons
  - refactor plugins.lua files to look cleaner
  - replace close-buffers.nvim with bufdelete.nvim
- alacritty: upgrade config to 0.11.0
- pyradio: use Jinja2 template for theme file
- fish:
  - add environment variables for helmfile, gopass, pulumi, vivid
  - rollback $NPM_CONFIG_PREFIX (it is used to set $PATH)
- git:
  - add git-privacy
  - tweak aliases a bit to look nicer
- dotfiles:
  - rename `terminal` variable to `terminal_emulators`
- extend:
  - merge `flatpak` role into `packages`
  - merge `wallpapers` and `soundtheme` roles into `theme`
2022-10-16 11:00:00 +07:00
Hoang Nguyen f9498a3926
newsboat: add Fireship channel 2022-09-18 18:29:24 +07:00
Hoang Nguyen d7a6facb9e
nvim: add translate.nvim and vim-rego
Also:
- Disable some bloated nvim plugins and update Go-based lsp install scripts.
- Add jsonnet_ls for nvim-lspconfig

And fix generating fish completion for some go packages
2022-09-14 22:32:22 +07:00
Hoang Nguyen a58c24762a
dotfiles: add 'music_daemon' variable
- allowing 'mpd' or 'mopidy' value. Also switch to mpd unix socket
  instead of localhost port
- Fix wallpaper script with swww
2022-09-11 22:42:20 +07:00
Hoang Nguyen 56e939f0ea
nvim: temporary updates
There are still things I want to add, but the diff has gotten quite
large already. Putting the current config here for backup.

- add inlay-hints.nvim, flit.nvim
- bind leap.nvim to -/_ and reset nvim-surround mappings
- update deprecated setup instruction for a few plugins

Also move TODO section out of README.md
2022-09-03 17:19:55 +07:00