1
0
forked from extern/nix-config
Commit Graph

2432 Commits

Author SHA1 Message Date
Donovan Glover
6a050b4302
flake.nix: Switch back to nix-community/home-manager
The docs patch is now merged upstream.
2023-12-12 18:29:57 -05:00
Donovan Glover
8c58360fc5
hyprland(swww): Use seasonal backgrounds
It's that time of year again.
2023-12-07 19:13:28 -05:00
Donovan Glover
f4b2b6b586
ironbar: Manually set opacity
Fixes an issue where nix would show a warning about floatToString being
used.
2023-12-07 19:12:33 -05:00
Donovan Glover
ea6ef79862
home-manager: Use docs branch
Fixes an issue where home-manager would show optionsDocBook warnings on
every nixos-rebuild.
2023-12-07 19:11:10 -05:00
Donovan Glover
20d8e7732c
chore: Update flake inputs 2023-12-07 18:59:59 -05:00
Donovan Glover
9c0f97326c
packages: Update osu-backgrounds 2023-12-07 17:49:56 -05:00
Donovan Glover
341bfea7fa
eww: Switch from fluent icons to candy icons 2023-12-07 17:48:26 -05:00
Donovan Glover
91cd533c28
neovim: Fix nvim-cmp usage with denols/tsserver
This commit removes the duplicate setup {} commands.

It also fixes typst being set up without its respective settings.
2023-12-05 14:40:28 -05:00
Donovan Glover
c9e52534d2
chore: Update flake inputs
emmet-language-server is now in nixos-unstable.
2023-12-04 14:34:48 -05:00
Donovan Glover
90f5bd4b59
neovim: Remove denols from nvim-cmp capabilities
Fixes an issue where React would not be found in Next.js projects.
2023-12-03 16:46:55 -05:00
Donovan Glover
43ec993d49
neovim: Add tailwindcss language server support
Should make working with tailwindcss easier.
2023-12-03 16:27:37 -05:00
Donovan Glover
0920214e98
neovim: Add prisma language server support 2023-12-03 16:20:19 -05:00
Donovan Glover
0b68a42070
neovim: Enable nvim-cmp support for all language servers 2023-12-03 16:10:55 -05:00
Donovan Glover
1ff94843d1
mpv: Simplify osc toggle to ctrl+a
I never change the aspect ratio of a video, so overriding this keybind
works well.
2023-12-03 15:57:53 -05:00
Donovan Glover
bf3b794bcb
neovim: Replace emmet-ls with emmet-language-server
Note that emmet-language-server isn't in nixos-unstable yet.

See: https://github.com/NixOS/nixpkgs/pull/255524
2023-12-03 15:54:33 -05:00
Donovan Glover
98f0eaf336
neovim: Auto-close tags with nvim-ts-autotag
In the rare event that emmet isn't used, nvim-ts-autotag auto-closes
tags when > is typed.
2023-12-03 15:45:22 -05:00
Donovan Glover
9842004ba9
neovim: Add community snippets with friendly-snippets
This makes it easier to make for loops and other fun stuff.
2023-12-03 15:39:30 -05:00
Donovan Glover
93bd51bd35
neovim: Add Emmet support
I used Emmet years ago but at some point preferred Pug in Vue. Now that
I use React more, this should make creating tags in JSX easier.

The emmet language server is particularly useful since it becomes
possible to tab complete HTML tags.
2023-12-03 09:07:06 -05:00
Donovan Glover
afc0bcd1f1
neovim: Add autocompletion support with nvim-cmp
Did not expect this to work on the first try but it did. Taken directly
from the nvim-lspconfig wiki.

https://github.com/neovim/nvim-lspconfig/wiki/Autocompletion
2023-12-03 07:59:51 -05:00
Donovan Glover
3b5b6782ca
neovim: Add ctags support with tagbar
5 years later and ctags seem to work better, so I've decided to add them
again mainly for Rust.
2023-12-02 13:34:12 -05:00
Donovan Glover
4593d74d8c
meta: Remove cmus
Not needed since I prefer ncmpcpp and the playback issues I had
previously seem to be fixed now.
2023-12-02 11:08:49 -05:00
Donovan Glover
5beb9ca079
joshuto: Remove deprecated sizemtime
Deprecated in v0.9.6.
2023-12-01 00:27:47 -05:00
Donovan Glover
25a413507d
kitty: Make icons work in scrollback pager
A recent update caused icons to no longer be rendered when using kitty's
scrollback feature. This fixes that.
2023-11-30 23:27:42 -05:00
Donovan Glover
1155978979
starship: Disable rust indicator
Not really necessary since I know when I'm working in a Rust project and
the version number isn't relevant in most cases.
2023-11-30 23:21:00 -05:00
Donovan Glover
f7a9dc27b8
starship: Disable bun indicator
Avoids making the prompt line too long.
2023-11-30 23:20:31 -05:00
Donovan Glover
7095056ebe
packages: Add satty 2023-11-30 23:04:29 -05:00
Donovan Glover
c7415ebe69
networking: Disable resolvconf
Fixes an issue where newer versions of the Mullvad module would cause
websites to not resolve.

See: https://discourse.nixos.org/t/connected-to-mullvadvpn-but-no-internet-connection/35803
2023-11-30 23:02:50 -05:00
Donovan Glover
59ec861754
overlays: Update ripgrep to 14.0.3
Fixes an issue with fish completions in ripgrep 14.0.1.
2023-11-30 23:02:08 -05:00
Donovan Glover
56da65f34a
chore: Update flake inputs 2023-11-30 19:14:43 -05:00
Donovan Glover
b77820ea25
starship: Simplify nix format
Useful for `use flake` in .envrc
2023-11-30 19:12:23 -05:00
Donovan Glover
533094c1a9
hyprland: Add playerctl keybinds for mpv 2023-11-30 19:04:50 -05:00
Donovan Glover
36304461f0
hyprland: Remove WLR_NO_HARDWARE_CURSORS
Not needed anymore when outside of a virtual environment.
2023-11-30 18:57:46 -05:00
Donovan Glover
5c2625e4e2
fish: Add alias for npm-check-updates
A good replacement for yarn upgrade-interactive.
2023-11-30 18:56:57 -05:00
Donovan Glover
8b6fa08e71
hyprland: Don't dim mpv windows 2023-11-30 18:39:52 -05:00
Donovan Glover
157ec2b7a2
fish(eza): Don't quote directories with spaces
Not needed since icons are used.
2023-11-20 13:33:51 -05:00
Donovan Glover
770f8dde0a
hyprland(swww): Fix incorrect background script 2023-11-19 16:11:32 -05:00
Donovan Glover
ad9500925d
fish: Add nixpkgs-review abbreviation 2023-11-19 06:37:50 -05:00
Donovan Glover
f4b0c41289
hyprland(swww): Randomize background on all monitors 2023-11-19 06:37:21 -05:00
Donovan Glover
1c7aab6cc3
chore: Update flake inputs 2023-11-18 14:57:21 -05:00
Donovan Glover
9378fa8208
chore: Update packages 2023-11-18 14:54:19 -05:00
Donovan Glover
5046c0fa2e
stylix: Style cursor with new option 2023-11-18 14:52:48 -05:00
Donovan Glover
16d5607dbc
joshuto: Make typescript files open with neovim 2023-11-16 16:12:02 -05:00
Donovan Glover
385263f91a
hyprland: Revert seasonal backgrounds 2023-11-16 16:11:09 -05:00
Donovan Glover
2553258bc3
fish: Add abbreviation for zathura 2023-11-14 10:37:30 -05:00
Donovan Glover
f59bd9202a
hyprland: Don't mirror monitors
Not needed anymore since a recent hyprland update fixed the issue where
extended displays would experience lagginess.
2023-11-09 23:07:26 -05:00
Donovan Glover
c115dd88ef
chore: Update to latest nixos-unstable release 2023-11-03 19:37:26 -04:00
Donovan Glover
cc1da27091
neovim: Add treesitter grammars
Fixes an issue with the markdown grammar not being found and adds some
extra features such as highlighting the current indentation line.
2023-10-31 23:45:25 -04:00
Donovan Glover
b5d965b047
overlays: Downgrade eza to 0.14.2
Fixes an issue where newer versions of eza don't align CJK characters
properly. See: https://github.com/eza-community/eza/issues/556
2023-10-31 17:59:24 -04:00
Donovan Glover
1415b957b3
hyprland(swww): Use seasonal backgrounds
A very important change.
2023-10-31 11:59:04 -04:00
Donovan Glover
6b9f547088
fish(tree): Ignore dist directory
Necessary for Nuxt projects. Use joshuto or ls when interested in seeing
ignored directories and tree for a quick overview of a project.
2023-10-31 11:41:38 -04:00