Commit Graph

3312 Commits

Author SHA1 Message Date
Donovan Glover
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
Donovan Glover
ffb3460c53
fluent-icons: Decrease png resolution
512x512 isn't necessary and doesn't seem to affect eww with hidpi
anyway.
2024-08-16 02:41:38 -04:00
Donovan Glover
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
Donovan Glover
00f3365001
fluent-icons: Use lutgen transparency branch
It turns out that alternative solutions like dipc don't produce results
as good as lutgen so the compile time trade-off should be worth it.
2024-08-16 01:57:10 -04:00
Donovan Glover
a3cd945895
fluent-icons: Generate icons with nix
Unfortunately lutgen doesn't have transparency support added to its main
branch yet and there doesn't seem to be any indicator that this will
ever be added, so we'll have to use an alternative to avoid manually
compiling it.
2024-08-16 01:06:33 -04:00
Donovan Glover
a896ce4232
librewolf: Explicitly add ublock-origin
Fixes an issue where ublock origin stopped being automatically
installed.
2024-08-16 00:28:12 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
df849b82c5
librewolf: Allow enabling extensions from system
Now yomitan will be enabled automatically.
2024-08-16 00:01:18 -04:00
Donovan Glover
d523816621
librewolf: Install yomitan by default
This works, which is great.
2024-08-15 23:41:07 -04:00
Donovan Glover
fd35cd9db0
flake: Add rycee/firefox-addons
Makes it possible to install firefox addons with home-manager.
2024-08-15 23:36:09 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
44e7c6df4d
hyprland: Drop activate-linux
This was cute but not really useful for daily operation.
2024-08-15 22:43:48 -04:00
Donovan Glover
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
Donovan Glover
b70ba76c80
neovim: Drop tango keybinding
This was cool but I didn't really use it.
2024-08-15 22:31:31 -04:00
Donovan Glover
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
Donovan Glover
5f21bf0c49
phone: Don't set userDirs to null
Fixes an issue where the camera app Megapixels would silently fail since
it couldn't find the "Pictures" directory.
2024-08-15 22:18:37 -04:00
Donovan Glover
5c7a272877
system: Switch to mullvad package without gui
The GUI isn't needed anymore now that I'm able to deploy mullvad to new
phone systems without using it.
2024-08-15 21:48:01 -04:00
Donovan Glover
de6eb60ecb
system: Update from nix 2.22.3 to 2.24.2
Should enable us to take advantage of the new language features.
2024-08-15 21:35:15 -04:00
Donovan Glover
a71a6cfda4
mobile-nixos: Remove duplicate eg25-manager service
Not needed in mobile-nixos now that it has been upstreamed into
nixpkgs.
2024-08-15 21:33:49 -04:00
Donovan Glover
2155dc793c
overlays: Drop neovim-unwrapped
Not interested in rebuilding neovim every time just for the desktop icon
to work when I don't use it anyway.
2024-08-15 14:43:09 -04:00
Donovan Glover
7b7028ed68
chore: Update to latest nixos-unstable release
- Removed ironbar overlay as it's no longer needed
- Removed broken packages that don't build with Ruts 1.80.0
2024-08-15 13:46:22 -04:00
Donovan Glover
76955215b6
chore: Run nix fmt 2024-08-15 11:22:07 -04:00
Donovan Glover
298792cd92
mobile-nixos: Limit audio to speaker/earpiece VoiceCall
This helps guarantee that phone call audio will work as long as the
phone wasn't suspended prior to the phone call, in which case the
pulseaudio server needs to be restarted first.

Note that this removes the possibility of using the PinePhone for tasks
where audio is particularly important, although it's likely more
enjoyable to accomplish those tasks on a more reliable device anyway.

I may come up with a solution that automates fixing the audio after
suspend in the future.
2024-08-15 11:20:23 -04:00
Donovan Glover
b14eca2c55
system: Open dnsmasq ports with hotspot option
Makes it possible to connect to mobile hotspots. Now the PinePhone is
a lot more useful.
2024-08-15 11:04:35 -04:00
Donovan Glover
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
Donovan Glover
5f424194e1
shell: Replace wget / httpie with xh
The year is 2024 and httpie is no longer in fashion. httpie was broken
on NixOS anyway due to certificate verification errors, and wget is
unnecessary overall since scripts that depend on it have their own $PATH
with it available.

See: https://github.com/NixOS/nixpkgs/issues/94666
2024-08-13 16:55:01 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
63797c4259
flake: Switch to home-manager fork for librewolf support
I originally wanted to avoid maintaining my own forks of flake inputs to
simplify usage with the actual upstream if wanted, however the lack of
flakes supporting patches means that it's actually *easier* to maintain
my own repositories with the changes I want.

The main advantage of this is not having to wait for upstream. This also
means that I'm able to easily control which things I want to update and
when.
2024-08-13 14:36:14 -04:00
Donovan Glover
e2b4ba85ea
phone: Ensure 4G connection on initial build
This is a huge step towards using the phone as a phone without having to
worry about using Phosh long-term. This could potentially lead to an
extremely minimal phone in the future that has improved performance for
simple tasks.
2024-08-12 20:05:52 -04:00
Donovan Glover
f1400460ab
phone: Don't show kvantum stuff in app list
Currently the way I'm using the PinePhone is like a minimal phone with
less than 8 apps in total.
2024-08-12 13:45:09 -04:00
Donovan Glover
3fbcf669cf
phone: Drop unused packages
Will be using the phone as a portable web browser to avoid issues with
native applications generally being slower and lacking features you'd
find in their web counterparts.
2024-08-12 13:29:25 -04:00
Donovan Glover
1344cf0c3e
system(ssh): Disable keyboard interactive authentication
Not necessary since we're using key pairs 100% now.
2024-08-12 06:39:19 -04:00
Donovan Glover
1d489ac6b4
phone: Update device UUIDs
Had to reinstall NixOS on the PinePhone again since a corrupted Nix
store broke everything and was unrecoverable due to not being able to
successfully repair specific files with the use of SSH substituters.

This time we will be trying the PinePhone without LUKS encryption to see
if this makes a difference in the performance of the device. Technically
encryption *isn't* supposed to make things slower in 2024 but the
PinePhone CPU is old enough that performance could've been affected.
2024-08-12 06:35:50 -04:00
Donovan Glover
1427bdc4dd
phone: Switch from alacritty to kitty
Alacritty has some significant issues that make it a non-starter for me
on the PinePhone, such as neovim not displaying properly over SSH.

As an alternative to no touch support in kitty and no shift modifiers in
squeekboard, tmux can be used instead.
2024-08-11 19:26:10 -04:00
Donovan Glover
a3a8766ada
system: Enable ssh for all systems 2024-08-11 18:47:05 -04:00
Donovan Glover
f3855a5260
shell: Add nix-update / rustscan
rustscan is a nice alternative to nmap that's easier to use and doesn't
require the usage of sudo in certain situations.

nix-update is a nice script that makes updating the versions and hashes
of packages way easier than editing them by hand.
2024-08-11 18:19:37 -04:00
Donovan Glover
2e74b21642
packages(all-the-package-names): Run nix-update
Surprisingly easy to update packages in flakes with nix-update.
2024-08-11 16:58:42 -04:00
Donovan Glover
372f26662c
meta: Drop tectonic
It's better to be pragmatic here and not choose tectonic when texlive
works extremely well and without any of the problems one would encounter
with tectonic.

The future of tectonic is unfortunately a mystery as well, due to the
status of the GitHub repository and its dependence on the unmaintained
XeTeX.

See: https://tex.stackexchange.com/questions/593031/what-are-the-downsides-of-using-xetex/593217#593217
2024-08-11 16:18:44 -04:00
Donovan Glover
7fb98bba38
phone: Show upcoming events on lock screen
This works but causes the time to not be updated if you turn on the
phone with the upcoming events section open.
2024-08-11 15:38:51 -04:00
Donovan Glover
94c5f8f651
phone: Show calendar in favorites
Unsure if I'll actually use the calendar on here due to how slow it is,
but it seems better than everything else.
2024-08-11 15:36: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
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
5032717f84
flake: Update stylix to fix startup issues with fish + tmux
Now it's possible to enjoy kitty image previews inside tmux, which is
something that zellij doesn't support.

Although tmux is slightly slower than zellij on startup, it has the
major advantage of a larger community with more time to iron out bugs
like the cursor jumping when scrolling in neovim with zellij.
2024-08-11 12:45:47 -04:00