Commit Graph

690 Commits

Author SHA1 Message Date
7674c8e90e chore: Use singleton where possible 2024-08-27 13:22:46 -04:00
83a82ab655 chore: Expand single item lists and attribute sets
These aren't collapsed by nix fmt anymore.
2024-08-27 13:05:29 -04:00
64ce2763bc xdg-user-dirs: Set desktop directory
Fixes an issue where programs that depend on the desktop directory
weren't able to find it.
2024-08-26 14:04:36 -04:00
8438c07ab1 git: Remove aliases
It's better to use fish abbreviations so it's easier to remember what
the aliases actually do.
2024-08-26 06:59:39 -04:00
6b0876bfb4 neovim: Drop vim-caddyfile
Not needed now that I'm all in on Nix.
2024-08-26 01:46:17 -04:00
c4d374f63d hyprland: Drop unused centerwindow keybind
This isn't needed now that hyprland centers floating windows by default.
2024-08-26 00:05:18 -04:00
a2f70631ed neovim: Drop yuck-vim
The treesitter grammar is used instead when inlined in Nix.
2024-08-25 22:58:47 -04:00
9aaf6ed972 meta: Move editorconfig to separate module 2024-08-25 22:33:15 -04:00
3e5290a6ba meta: Move friendlyfox to separate package
Makes it easier to do things like update friendlyfox in the future.
2024-08-25 15:38:35 -04:00
ba127acd62 hyprland: Change passthrough key to super+alt+backspace
Fixes an issue where the passthrough keybind was being executed when
switching ttys.
2024-08-25 12:38:27 -04:00
f526b20a3b fzf: Fix colors being overwritten by stylix 2024-08-24 22:08:07 -04:00
c00ebbd691 meta: Prefer home-manager module over env for bat
This works now that stylix switched to using the configuration file
instead of the environment variable.
2024-08-24 12:24:43 -04:00
aac5e7f999 meta: Prefer home-manager module over env for fzf 2024-08-24 12:16:36 -04:00
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
9e76605a80 chore: Improve formatting
Also simplifies the piccom call in .xinitrc.
2024-08-22 16:44:54 -04:00
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
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
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
b513d01715 meta: Merge swaync / swayosd with hyprland module
Helps avoid having modules that are only a single line.
2024-08-16 02:48:41 -04:00
3475c5888c hyprland: Drop old qt environment variables
- QT_AUTO_SCREEN_SCALE_FACTOR is no longer used in Qt6+
  https://doc.qt.io/qt-6/highdpi.html

- QT_QPA_PLATFORM is no longer necessary since it seems like NixOS will
  start Qt applications that support Wayland with it by default
  https://wiki.archlinux.org/title/Anki#Wayland

- QT_WAYLAND_DISABLE_WINDOWDECORATION seems to no longer be necessary
  since this should be handled by the window manager
  https://www.qt.io/blog/2018/12/14/whats-new-wayland-platform-plugin-qt-5-12
2024-08-16 02:26:19 -04:00
a896ce4232 librewolf: Explicitly add ublock-origin
Fixes an issue where ublock origin stopped being automatically
installed.
2024-08-16 00:28:12 -04:00
d012e06731 librewolf: Only enable friendlyfox on phone
Fixes an issue where the user interface would break on desktop devices.
2024-08-16 00:28:04 -04:00
ffb98a9002 librewolf: Don't show urlbar popup on mobile
Makes browsing the web a lot nicer since you can use the URL bar without
having to worry about not being able to see the page.
2024-08-16 00:03:51 -04:00
df849b82c5 librewolf: Allow enabling extensions from system
Now yomitan will be enabled automatically.
2024-08-16 00:01:18 -04:00
d523816621 librewolf: Install yomitan by default
This works, which is great.
2024-08-15 23:41:07 -04:00
45386c2279 hyprland: Drop notify-send for connectivity keybind
This should be handled by something constantly checking connectivity
instead.
2024-08-15 23:15:33 -04:00
85c89ab496 meta: Move icoextract/thud to thunar module
This helps clarify that icoextract and thud are used with thunar
specifically.
2024-08-15 22:46:05 -04:00
44e7c6df4d hyprland: Drop activate-linux
This was cute but not really useful for daily operation.
2024-08-15 22:43:48 -04:00
de7df4e114 hyprland: Drop unused mpv playerctl keybindings
I never ended up using these as much as I thought I would and getting
rid of them helps to simplify the code base a bit.
2024-08-15 22:40:20 -04:00
b70ba76c80 neovim: Drop tango keybinding
This was cool but I didn't really use it.
2024-08-15 22:31:31 -04:00
27582bfa85 hyprland: Don't use notify-send for grimblast
Not needed since grimblast has built-in notifications.
2024-08-15 22:28:11 -04:00
76955215b6 chore: Run nix fmt 2024-08-15 11:22:07 -04:00
f4193012f9 librewolf: Use mobile-friendly-firefox styles
This makes LibreWolf work well on the PinePhone without having to
manually use the FriendlyFox installation script.

Note that FriendlyFox was chosen over the mobile-config-firefox script
from postmarketOS due to FriendlyFox having less issues overall, such as
not breaking when the right click menu is long and popup menus having
altered styles for mobile support.
2024-08-13 17:17:32 -04:00
b995d2885f librewolf: Trim https by default
Should make reading URLs easier on the already-limited screen size
of the PinePhone.
2024-08-13 16:28:58 -04:00
bad1a9d3c3 librewolf: Make mullvad the default search engine
Might add some more search engines later, but Mullvad usually produces
better results for less popular content, especially with topics such as
PinePhone troubleshooting.
2024-08-13 16:27:05 -04:00
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
a4199be9c0 editorconfig: Drop unused file type settings
The rust editorconfig isn't necessary, and I don't edit the other file
types anymore.
2024-08-11 14:58:05 -04:00
57aa315b21 tmux: Remove unused bindings
The default keybindings should be preferred so it's easier to use tmux
on other machines.
2024-08-11 14:36:29 -04:00
69917c5f99 qutebrowser: Drop unused qute-pass / mpv bindings
These didn't work anyway due to forgetting to remove the ') at the end
of the strings previously.
2024-08-11 14:32:49 -04:00
818f1f559d meta: Move alacritty config to phone
I only use alacritty on the phone due to the superior touch support.
Touch support might be added to kitty later if someone is willing to
patch it. See: https://github.com/kovidgoyal/kitty/issues/5432
2024-08-11 14:08:23 -04:00
2ed939b083 meta: Replace zellij with tmux
Now that tmux works again, it makes sense to choose it over zellij due
to the vastly superior community support around it. Using tmux-256color
makes colors work properly in programs like htop, and neovim benefits
from squiggly lines and italics from kitty as well.
2024-08-11 13:54:32 -04:00
6c34cce882 treewide(nix): Remove duplicate attribute name usage
Found thanks to nixd showing different colors for these.
2024-08-10 20:55:46 -04:00
6d47500cdc librewolf: Drop removed activity cursor setting
This was unfortunately removed from upstream Firefox in [1] likely from
some sort of cleanup campaign on old code. There are no plans to
introduce it back based on [2], so we'll have to live without it.

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1848896
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1858801
2024-08-10 19:55:42 -04:00
84e38fc2b1 neovim: Drop chameleon.nvim
Not interested in dealing with fixing the nixf-tidy issue here which
would cause a massive formatting diff with nixfmt-rfc-style. Might
upstream later or find a better solution without chameleon.nvim.
2024-08-09 19:52:32 -04:00
03b91edd4f neovim: Make folded background transparent
Now zM is a lot prettier to use.
2024-08-09 18:09:28 -04:00
0286b818de neovim: Drop pug / ecr
There really isn't a reason to use pug or ecr in 2024 when the
development experience with JSX/TSX is so great, and sticking to
what's popular makes it easier for other people to contribute.
2024-08-09 13:39:07 -04:00
92851019c8 neovim: Drop vue
I haven't used Vue in years and have much more expertise in vanilla
JavaScript/TypeScript with React and JSX/TSX, so there's really no
reason for me to keep it here.
2024-08-09 13:36:20 -04:00
da29bcbf4d neovim: Remove unnecessary comments
The built-in help and https://neovim.io/doc/user/options.html can be
used instead if an option isn't known at read time.
2024-08-09 11:13:31 -04:00
19bb580cb0 neovim: Remove useless softtabstop option
0 is already the default.
2024-08-09 11:10:42 -04:00
a73678b2a8 git: Prune deleted branches by default
Avoids unnecessary overhead when dealing with lots of branches.
2024-08-08 22:46:52 -04:00