Commit Graph

18 Commits

Author SHA1 Message Date
Hoang Nguyen d483163cda
system: move GUI-related env vars to /etc/environment 2021-10-19 13:06:37 +07:00
Hoang Nguyen 0f2574a887
neovim + system
neovim:
    - highlight:
        + adjust treesitter groups for nord (TSField as fg doesn't look
          good in yaml files). Also add highlight for TSNote, TSWarning,
          TSDanger (notes such as 'TODO', 'FIXME', ...)
        + rewrite the way theme is set (now 'g:colors_name' is used
          properly instead of a hacky variable 'g:global_theme'). Also
          make setting theme more modular
        + add 'highlight_languages' groups for other syntaxes (html,
          markdown) that are not covered with treesitter
    - mappings: properly move ':Telescope lsp_range_code_action' to
      visual block + avoid mappings for <C-x> and <C-a> (number
      decrement/increment)
    - null-ls.nvim: add basic config, load before nvim-lspconfig
    - plugins: add nvim-treesitter/playground
    - feline.nvim: lazy loaded on VimEnter
    - nvim-lightbulb: only refresh on CursorHold (previously stopped
      working after entering INSERT mode)
system:
    - tlp: update config for v1.4.0
setup: add ani-cli to scripts.sh
2021-10-18 00:53:25 +07:00
Hoang Nguyen a74bba23c8
system: add resolvconf config 2021-10-17 21:48:14 +07:00
Hoang Nguyen 12e151d3e1
Some system config changes
- startwl: move `chmod` out of if statement (ensure $XDG_RUNTIME_DIR
  properly has 0700 permission)
- doas: add Void specified config
- nftables: add note for future changes to block rules
- grub: disable submenu
2021-10-17 21:48:13 +07:00
Hoang Nguyen 7a33971f18
nftables: add wireguard rules template 2021-10-17 21:48:05 +07:00
Hoang Nguyen b080c54e5b
Add glow config
Also deprecate neovim config.
2021-10-17 21:48:02 +07:00
Hoang Nguyen 4f17266b0b
nftables: move rate limit above established connections 2021-10-17 21:48:01 +07:00
Hoang Nguyen 7dfc942338
nftables: move nat to another table for visibility 2021-10-17 21:48:01 +07:00
Hoang Nguyen 85b24cdbe7
nftables: add libvirt rules for NAT 2021-10-17 21:48:01 +07:00
Hoang Nguyen 0e5f88739f
system: add network note 2021-10-17 21:48:01 +07:00
Hoang Nguyen 6adbf27693
river: add some input configuration 2021-10-17 21:48:01 +07:00
Hoang Nguyen a13921809f
tlp: update config template for AC 2021-10-17 21:48:00 +07:00
Hoang Nguyen 7240be331e
system: add tlp config template 2021-10-17 21:48:00 +07:00
Hoang Nguyen 4e108abbbd
system: add configurations 2021-10-17 21:48:00 +07:00
Hoang Nguyen 4a8718a544
setup: install things to ~/.local instead of /usr
And some clean up
2021-10-17 21:48:00 +07:00
Hoang Nguyen 045fa07a15
Add fontconfig, umask and silent pyenv init 2021-10-17 21:47:58 +07:00
Hoang Nguyen 69df55f6ce
seatd: remove `loginctl` hardcoded 2021-10-17 21:47:50 +07:00
Hoang Nguyen 5255ea5c2b
Initial commit 2021-02-13 19:28:59 +03:00