Commit Graph

3355 Commits

Author SHA1 Message Date
Donovan Glover
ce02f98e0c
neovim: Drop csv-vim
This actually isn't that useful and has some bugs where errors are shown
and the neovim tree window is used instead of the active window with the
CSV file.
2024-05-31 16:25:26 -04:00
Donovan Glover
d187c6dd5b
desktop: Remove logseq
I don't use logseq anymore and am removing large programs to reduce
the closure size.
2024-05-31 11:54:34 -04:00
Donovan Glover
47c6d60229
hyprland: Use home-manager module for hyprlock 2024-05-28 13:19:15 -04:00
Donovan Glover
1462c868b6
hyprland: Use home-manager module for hypridle 2024-05-28 13:13:01 -04:00
Donovan Glover
f80d3c356d
fish: Add ex function
Used for extracting multi-part archives.
2024-05-28 13:04:47 -04:00
Donovan Glover
0d2cde7e36
fish: Add tmp function
This is the preferred way of starting qutebrowser.
2024-05-28 11:56:32 -04:00
Donovan Glover
2fbad70214
fish: Add epub2pdf function
This is part of migrating scripts from ~/.local/bin to the nix-config.
Note that this also lets us use packages that aren't available in a
user's $PATH.
2024-05-27 23:33:50 -04:00
Donovan Glover
c40055a515
packages: Remove chromium from global $PATH
Not interested in maintaining this globally when I only need it for
testing, so I'd rather have it only available inside a devShell if
necessary.
2024-05-26 06:36:09 -04:00
Donovan Glover
23b5891753
librewolf: Don't include mbrola
Reduces the closure size when mbrola isn't included in any other
packages.
2024-05-26 05:57:49 -04:00
Donovan Glover
3983219a7f
nerdfonts: Only include Noto fonts
This reduces the closure size by 8 GB without changing anything else.
2024-05-26 05:24:31 -04:00
Donovan Glover
25e545ea4b
ringracers: 2.2 -> 2.3 2024-05-21 21:14:10 -04:00
Donovan Glover
e077bb8ff4
tests(neovim): Increase wait time
The addition of the neovim plugins made the initial time to open longer
than 5 seconds and thus failed the tests.

Note that using an alternative method like machine.wait_for_text() is
probably better in the long run to avoid flaky tests.
2024-05-20 13:42:48 -04:00
Donovan Glover
566e479f32
meta: Move dev tools to separate module
Should fix the ci running out of space. Eventually we'll want to remove
this from our global $PATH and leverage nix flakes instead.
2024-05-20 13:14:11 -04:00
Donovan Glover
4222ef30e6
Revert "chore: Update to latest nixos-unstable release"
Latest changes break a bit too many things including ironbar. Auto-save
in neovim is delayed a bit, which could have fixed a bug but will take
some getting used to.

The update brings crackling audio issues to osu! wine again, so more
investigating will need to be done to find a solution for that. Overall
seems like most wine programs broke, so a new wine prefix could be in
order.

Additionally, Librewolf now has some unexpected keybinding behavior with
Ctrl+L + Ctrl+C resulting in the letter `c` being displayed instead of
copying like before.
2024-05-20 12:35:08 -04:00
Donovan Glover
b30ffbc858
system: Change allowZolaPort option to allowDevPort
Makes things a bit more generic.
2024-05-20 11:53:13 -04:00
Donovan Glover
d209a08ff1
librewolf: Don't suggest open tabs 2024-05-20 11:52:45 -04:00
Donovan Glover
bd1cb1e36e
fish: Drop $SSH_AUTH_SOCK
Shouldn't be needed since this gets handled by the ssh-agent module if
enabled instead.
2024-05-20 11:49:33 -04:00
Donovan Glover
e29def5e49
chore: Update to latest nixos-unstable release
Now on Hyprland v0.40.0, which works but breaks ironbar.
2024-05-20 11:48:22 -04:00
Donovan Glover
55ba37da88
overlays: Drop zola
No longer necessary since I no longer use zola and would rather not deal
with unnecessarily compiling it.
2024-05-20 11:46:30 -04:00
Donovan Glover
4e61b89e3b
vimtex: Set out_dir to /tmp/vimtex
This guarantees that auxiliary files won't be present in the current
directory from latexmk, and encourages reproducible pdfs with the usage
of tectonic.
2024-05-20 11:07:20 -04:00
Donovan Glover
0f5f85c61d
librewolf: Don't suggest search engines
Removes the useless DuckDuckGo suggestion when starting a search with
"d".
2024-05-20 11:06:12 -04:00
Donovan Glover
f3b256d361
librewolf: Don't restore pinned tabs simultaneously
Makes pinned tabs more viable since timing correlation attacks can be
reduced after a browser crash.
2024-05-20 10:42:43 -04:00
Donovan Glover
7bd2ae13ac
librewolf: Don't suggest bookmarks
Mainly for a peace of mind when performing searches.
2024-05-20 10:42:09 -04:00
Donovan Glover
b26094698c
Revert "vimtex: Drop unnecessary vimtex_view_method"
This breaks synctex support for zathura.
2024-05-20 01:01:04 -04:00
Donovan Glover
d1f571bc48
vimtex: Drop unnecessary vimtex_view_method
Seems to be handled automatically by xdg-open, so removing this makes
the config more portable.
2024-05-20 00:32:07 -04:00
Donovan Glover
9b79bc6a61
meta: Remove nixpkgs-fmt / nixfmt from global $PATH
These should be used at the flake level instead so `nix fmt` can be
used.
2024-05-19 23:33:35 -04:00
Donovan Glover
7273b6c3f2
fish: Remove useless export GPG_TTY=(tty)
This is automatically handled by home-manager's gpg-agent module.
2024-05-19 23:26:30 -04:00
Donovan Glover
e96bb70ed7
direnv: Prefer silent option over $DIRENV_LOG_FORMAT
This actually sets $DIRENV_LOG_FORMAT for us.
2024-05-19 23:19:06 -04:00
Donovan Glover
a7cd5bcc3d
fish: Drop $TERMCMD
Not needed since we don't use ranger anymore.
2024-05-19 23:02:01 -04:00
Donovan Glover
7aa2360d65
librewolf: Don't require extensions to be signed 2024-05-19 14:32:52 -04:00
Donovan Glover
02cf2abc7d
librewolf: Don't suggest frequently visited sites 2024-05-19 14:31:36 -04:00
Donovan Glover
372811f651
modules(desktop): Add graphical option for containers
xserver is required to make GUI applications run inside containers.
2024-05-19 11:18:39 -04:00
Donovan Glover
b5b20c7b19
tests: Test neovim with config
Fixes an issue where previously the home-manager config for neovim
wasn't actually being tested.
2024-05-19 00:45:55 -04:00
Donovan Glover
d75a0fc913
docs: Change link to new official NixOS wiki 2024-05-17 22:21:15 -04:00
Donovan Glover
a2aa6149a6
neovim: Switch from marksman to markdown-oxide
Seemed a bit buggy from initial testing, but should overall have more
features for PKM-related activities than marksman.
2024-05-15 17:39:28 -04:00
Donovan Glover
b438e9bafc
feat: Drop typst support
Although typst is an interesting project, TeX has vastly superior
typesetting and a significantly larger repository of existing packages
and knowledge to extend upon.

I faced auto-updating issues with typst that weren't present with
vimtex, and TeX in general has better support for auto-completions due
to its \backslash usage.
2024-05-14 08:21:50 -04:00
Donovan Glover
08cc18133d
ironbar: Add battery indicator support with upower
It turns out that I'd rather have a battery indicator than having to
`cat /sys/class/power_supply/BAT0/capacity` all the time.

Depends on upower and results in the battery indicator always being
shown even when virtualized.
2024-05-13 11:06:18 -04:00
Donovan Glover
c193b2b2cf
overlays: Overlay neovim to make nvim.desktop work in thunar 2024-05-13 10:36:55 -04:00
Donovan Glover
ecbfc509b1
chore: Fix formatting 2024-05-12 22:07:08 -04:00
Donovan Glover
ac327da932
flake.nix: Add back outputs for checks
Should pass in the ci this time.
2024-05-12 22:03:19 -04:00
Donovan Glover
240cf74584
tests: Test neovim properly
This seems to work.
2024-05-12 21:59:48 -04:00
Donovan Glover
d1f759441a
tests: Remove hyprland
Might have been too large for the CI.
2024-05-12 21:59:06 -04:00
Donovan Glover
aa32d93576
meta: Move base16-nvim into separate package
Makes the package easier to use outside of the config.
2024-05-12 20:48:04 -04:00
Donovan Glover
4fcf7d48af
meta: Remove sqlite / sqlcipher from global $PATH
Will be handled in individual project flake.nix files instead.
2024-05-12 19:17:18 -04:00
Donovan Glover
78d3861fd5
meta: Remove pnpm / yarn / bun from global $PATH
Will be focusing on npm instead since tooling is excellent and I'd
rather have a package manager that's old, reliable, and just works
than a newer one that might be missing a feature I need.
2024-05-12 14:46:26 -04:00
Donovan Glover
522ea1201d
meta: Remove crystal / shards from global $PATH
This is a part of having separate flake.nix files for each project
and using devShells for the dependencies needed.

Note that using Crystal as a language seems less likely overall due to
the difficulty of building Crystal packages for nixpkgs and the lack of
tooling and library support compared to other languages like TypeScript
and Rust.
2024-05-12 14:41:04 -04:00
Donovan Glover
017b588e3d
shell: Remove watchexec from systemPackages
This hasn't been as useful as I thought it would be. It's easier to
simply use alternative methods than trying to get watchexec to work.
2024-05-12 14:27:20 -04:00
Donovan Glover
0f687e989d
fish: Remove bun abbreviations
I originally thought I was going to use bun, but it turns out that there
are simply too many inconveniences compared to using npm itself, which
includes built-in nixpkgs support with buildNpmPackage and vastly
superior shell completions among other things.
2024-05-12 13:23:00 -04:00
Donovan Glover
69495f38d9
npm: Remove .npm-packages
We no longer need to worry about this since we can install npm packages
with Nix instead.
2024-05-12 12:00:28 -04:00
Donovan Glover
4d3cb6c027
chore: Prefer hash over sha256 2024-05-12 11:55:47 -04:00