Commit Graph

45 Commits

Author SHA1 Message Date
Donovan Glover
054a4bc77d
chore: fix unused variable for nixf-tidy 2024-10-15 16:55:00 -04:00
Donovan Glover
4d90d5cbf0
qutebrowser: drop
No real reason to use qutebrowser now that I've written new-tab-identity
and have LibreWolf programmed declaratively.

The additional complexity of having another browser installed meant that
I had to deal with a pyqt6 build error for an application I rarely used
for a number of reasons (no https by default etc.)
2024-10-15 15:02:59 -04:00
Donovan Glover
54b018aa22
fish(epub2pdf): drop
Rarely used this and the dependency on calibre was causing build issues
due to its dependency on pyqt6.
2024-10-15 14:34:26 -04:00
Donovan Glover
4f63c60124
fish: Start dwm on tty2
Makes it easier to run Hyprland and dwm simultaneously.
2024-08-31 12:17:58 -04:00
Donovan Glover
2b8fc665f6
meta: Prefer home-manager module over alias for ripgrep
Aliases should be avoided since they are only relevant to one shell.
2024-08-24 12:15:42 -04:00
Donovan Glover
8a3c22505e
fish: Add mullvad-init script
Note that long-term we can turn this into a home-manager module to make
things more declarative and automatic.
2024-08-16 15:41:57 -04:00
Donovan Glover
e8c2228e76
shell: Replace df with duf
Also removes du since it's easier to read the results of gdu, especially
on smaller devices like the PinePhone.
2024-08-16 12:53:36 -04:00
Donovan Glover
1cede2c75b
chore: Drop unused packages
Note that glib was supposedly added for mounting-related things, but
this should be possible to upstream into the derivation instead if it
hasn't been added already.
2024-08-16 12:52:25 -04:00
Donovan Glover
4180bd90d2
fish: Drop deno abbreviations
I don't use deno enough to justify having separate abbreviations for it,
and I doubt I will anytime soon due to the vastly superior ecosystem of
npm. Just as an example, `deno task` autocomplete support isn't
implemented, whereas `npm run` does have autocomplete.
2024-08-11 15:21:54 -04:00
Donovan Glover
14f65a9633
home: Format with nixfmt-rfc-style 2024-08-03 14:22:47 -04:00
Donovan Glover
06d3abf811
nvd: Exclude neovim treesitter grammars from diff 2024-07-06 11:48:20 -04:00
Donovan Glover
5e7b6c7fdc
fish: Simplify deno abbreviations
`deno add` is now preferred over `deno install`. Additionally, `deno
compile` doesn't work on NixOS, and creating a derivation should be
preferred instead.
2024-06-02 10:52:19 -04:00
Donovan Glover
41f9b015dc
fish: Remove unused cargo abbreviations
It's easier to build off of existing projects than start with a new one
entirely, hence why I stopped using cargo init/new.
2024-06-02 10:42:50 -04:00
Donovan Glover
a65d312a09
fish: Remove ~/.local/bin from $PATH
No longer necessary since we're using NixOS. Anything that was in
~/.local/bin should be declaratively defined instead.
2024-06-01 22:11:43 -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
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
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
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
ff2caf7354
fish: Remove .cargo from $PATH
Rust programs are easy enough to install The Nix Way so there's no real
reason to put .cargo in $PATH, especially when programs that have
dependencies like openssl won't work this way.
2024-05-12 10:48:46 -04:00
Donovan Glover
2bd7a0cef9
fish: Remove .deno from $PATH
It turns out I don't use deno nearly as much as I thought I would,
especially when the current node ecosystem works so, so well in
comparison.

I also haven't encountered any deno-specific programs that would be
worth installing globally.
2024-05-12 10:40:34 -04:00
Donovan Glover
5cc8a9002f
fish: Remove $GOPATH
Shouldn't be needed since I'm no longer interested in long-term Go
development. For when I *do* need to use Go, those packages can be
built as Nix derivations.
2024-05-12 10:28:35 -04:00
Donovan Glover
48a6d8f5b3
fish: Remove .go from $PATH
I don't plan on globally installing go packages anymore anytime soon.
2024-05-12 10:26:28 -04:00
Donovan Glover
5f002c7405
fish: Remove tauri text size workaround
Would rather just not use tauri than have this in the config.
2024-05-11 10:32:49 -04:00
Donovan Glover
c6a35490d1
fish: Remove .yarn from $PATH
I don't use yarn anymore since npm is better now.
2024-05-11 10:31:30 -04:00
Donovan Glover
fbb060f197
meta: Don't define prisma env variables globally
This should be handled in individual flake.nix files for the respective
projects instead so they can depend on their own version of prisma.
2024-05-10 14:53:10 -04:00
Donovan Glover
39e5183013
chore: Simplify
Note that biome isn't needed since eslint is *the* industry standard.
2024-04-22 22:29:47 -04:00
Donovan Glover
e1509cabe9
fish: Drop pnpm abbreviations
I'll still use pnpm when I *need* to, however the lack of support for
pnpm in nixpkgs is a show-stopper I'd rather not have to deal with when
npm works out of the box.

pnpm was originally used for faster install times and pnpm workspaces,
however npm now has its own workspaces and I'm okay with slower install
times if it means that everything works without fragile workarounds.
2024-04-21 08:59:41 -04:00
Donovan Glover
90a8565b12
fish: Drop yarn abbreviations
Yarn has been outdated for a while now, especially with the failure for
new projects to switch to "berry" among other things. I should never
need to use it again, but if I do, I don't need the abbreviations.

Yarn was originally used for yarn workspaces and faster install times.
Nowadays, however, other package managers are able to do both in more
efficient ways.
2024-04-21 08:54:54 -04:00
Donovan Glover
c033a0b700
npm: Make global packages installable with .npm-packages
Useful for packages like all-the-package-names.
2024-04-16 19:46:31 -04:00
Donovan Glover
6a0cc46906
eza: Use separate home-manager module
Also adds the new --git-ignore feature to avoid having to manually
specify an ignore list.
2024-04-13 09:03:33 -04:00
Donovan Glover
b2828a8cb3
chore: Remove unnecessary comments 2024-04-07 10:23:09 -04:00
Donovan Glover
ba10f28513
fish: Move core logic to home
Making root more bare-bones should be okay due to being able to use nix
shell and nix run as needed.
2024-04-06 22:14:18 -04:00
Donovan Glover
8e4c9981ea
fish: Convert to home-manager module
The home-manager module seems to be fixed now and doesn't cause an
abnormal startup time anymore.
2024-04-06 19:37:56 -04:00
Donovan Glover
46f778107b
chore: Improve formatting 2024-04-05 22:51:24 -04:00
Donovan Glover
86351c48f5
fish: Make prisma work outside of dev shell
More convenient for me personally.
2023-12-29 17:53:38 -05:00
Donovan Glover
c4e41421da
chore: Simplify formatting 2023-12-29 17:52:47 -05:00
Donovan Glover
aca473ecb3
direnv: Disable logging
Makes it possible to use direnv without large amounts of text taking up
the terminal screen when changing directories.
2023-10-25 13:46:48 -04:00
Donovan Glover
51530c8403
fish: Use XDG_DATA_DIRS for tauri applications
This fixes an issue where tauri applications would have small text when
ran outside of a nix shell after being built.
2023-10-25 13:26:45 -04:00
Donovan Glover
93ac26652e
fix: Use MANROFFOPT for color support in man pages
This fixes a regression where color support stopped working after a
groff update.

References:

- https://github.com/jedsoft/most/issues/18
- 958e73c508
- https://bbs.archlinux.org/viewtopic.php?pid=2113876#p2113876
2023-08-11 14:37:18 -04:00
Donovan Glover
a7102b5b67
fish: Move user config to ./home 2023-06-16 20:17:51 -04:00