Commit Graph

718 Commits

Author SHA1 Message Date
6986f725ed meta: Replace swaync with dunst
It's easier to use the same notification daemon across both X and
Wayland.
2024-09-04 00:05:56 -04:00
cda5e4d4af dunst: Remove useless geometry setting
This has been deprecated for a while now.
2024-09-03 23:50:00 -04:00
0a7ac98d82 meta: Move batsignal to separate module 2024-09-03 23:35:49 -04:00
dadee6bb08 dwm: Use avizo for media keys
Also adds support for the microphone mute key.
2024-09-03 21:11:07 -04:00
956fbce486 meta: Switch from swayosd to avizo
Avizo seemingly has better support than swayosd in dwm, so this change
makes the OSD consistent across both environments.

Long-term it may be useful to figure out why swayosd would tile under
dwm and whether or not it'd be possible to fix upstream.
2024-09-03 18:44:49 -04:00
f26cbc1aec meta: Move hyprlock / hypridle to separate modules
Makes it possible to use the hyprland module without using hypridle and
hyprlock.
2024-09-03 17:21:10 -04:00
85e5da19f2 kitty: Drop diff config
I never use kitty diff and it doesn't seem to work in Hyprland anyway
due to the following error:

> [0.215] [glfw error 65544]: process_desktop_settings:
> failed with error: [org.freedesktop.DBus.Error.UnknownMethod]
> No such interface “org.freedesktop.portal.Settings”
> on object at path /org/freedesktop/portal/desktop
2024-09-03 15:10:39 -04:00
648bdf156a librewolf: Add Japanese search engine 2024-09-01 19:30:42 -04:00
ac84cee715 librewolf: Add showdex extension 2024-09-01 18:59:47 -04:00
2db228e009 dunst: Don't use systemd service
Necessary while swaync is being used for notifications in Hyprland.
2024-09-01 18:37:20 -04:00
64c5b9d38d meta: Move dwm config to home-manager module
This works since the NixOS module wasn't doing anything that we were
using anyway.
2024-09-01 16:14:21 -04:00
939002e2f6 chore: Improve formatting 2024-09-01 14:12:17 -04:00
4f63c60124 fish: Start dwm on tty2
Makes it easier to run Hyprland and dwm simultaneously.
2024-08-31 12:17:58 -04:00
92d9ed77b0 librewolf: Configure settings at the profile level
Fixes an issue where New Tab Identity wasn't being loaded on first
launch of the profile due to settings not being profile-specific.

Long-term this also makes it possible to take advantage of the "Show
only modified preferences" feature, which showed our changes as the
defaults before.
2024-08-31 10:32:08 -04:00
f8806840d6 librewolf: Set network.dns.native_https_query to false
Fixes an issue where Firefox v129+ leaks DNS requests from the system.
Likely won't be fixed until v131 at the earliest.
2024-08-31 10:03:40 -04:00
de9f1486d7 dwm: Disable screen blanking 2024-08-31 09:59:47 -04:00
f52c98bab6 Revert "librewolf: Remove unnecessary ublock-origin package"
It turns out that DNS leaks were occurring from a new feature in Firefox
v129+ that uses the system's DNS in favor of the browser's DNS.

See: https://bugzilla.mozilla.org/show_bug.cgi?id=1910593
2024-08-31 07:31:45 -04:00
70c8d3f27a librewolf: Remove unnecessary ublock-origin package
Not needed and seems to actually break things since it's included by
default in LibreWolf.
2024-08-31 00:18:11 -04:00
4ec9294c04 packages: Add new-tab-identity
This seems to work, which is great.

For some reason it wasn't being initialized properly inside the virtual
machine but it does work on actual devices.
2024-08-30 20:26:33 -04:00
0b44a17ca9 chore: Replace callPackage with flake package
Removes the possibility of ../paths breaking.
2024-08-30 15:19:15 -04:00
3c89c82ced librewolf: Add redlib extension 2024-08-30 13:35:50 -04:00
b4adc570d0 meta: Replace firefox-addons with packages in flake
This simplifies things a bit since we're no longer relying on another
input and can add extensions not in the firefox-addons repository.
2024-08-30 13:34:00 -04:00
aaef3ecf8b Revert "meta: Document usage of dwm on phone"
This was cool but there were a few issues such as me not being able to
find the infamous "dock patch" despite grepping for dock on
https://dwm.suckless.org/patches/, which resulted in the keyboard hiding
tiled windows and being below floating windows.

There was also an issue where starting corekeyboard from dwm would
result in styling not being applied compared to starting it from the
terminal.

A third issue was that from a quick attempt I couldn't get callaudiod to
start inside dwm, which was required for gnome-calls.

Overall it looks like I will be using Phosh until further notice on the
PinePhone, as I've already gotten it to work well enough for my use case.
2024-08-28 20:12:40 -04:00
b00b2dd8d4 meta: Document usage of dwm on phone
This worked and was *significantly* faster than Phosh but resulted in a
lot of phone things broken like phone calls and the camera. Overall
quite cool to run dwm on the PinePhone but not really practical when
trying to use the PinePhone as a phone.
2024-08-28 19:52:17 -04:00
8d2a1685ec picom: Don't use systemd service
No need to start picom in Hyprland.
2024-08-27 20:11:24 -04:00
6036d49620 meta: Move home-manager dwm config to separate module
Note that it's possible to use an autostart patch like
https://dwm.suckless.org/patches/cool_autostart/ so startx isn't
needed although this results in dwm starting before things like
the status bar get set.
2024-08-27 17:20:49 -04:00
99fd8bf3f3 meta: Move dunst config out of dwm
Long-term I'll have to decide if it's worth it to use two separate
notification daemons for X and Wayland.
2024-08-27 16:33:05 -04:00
d10c5565fb meta: Move picom config out of dwm
This is part of simplifying the config to make `home` the single source
of truth for home-manager modules.
2024-08-27 15:18:18 -04:00
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