Commit Graph

3355 Commits

Author SHA1 Message Date
Donovan Glover
7fe0596d90
phone: Only disable systemd-boot on aarch64
This is necessary since the boot process is handled by mobile-nixos.

Note that the implementation here should allow us to move aarch64
differences out of the flake.nix and simplify nixosConfigurations
again long-term.
2024-07-18 17:50:19 -04:00
Donovan Glover
d092c5f416
meta: Migrate phosh settings to phone config
Currently there are too many serious issues to realistically use
Hyprland on the PinePhone, and Phosh supports most of the features
we need out of the box anyway, so it makes sense to use that full-time
over trying to make something else work.
2024-07-18 17:10:53 -04:00
Donovan Glover
200bbc1c51
mobile-nixos: Update kernel from 6.9.0 to 6.9.7
Hopefully this doesn't break anything.
2024-07-18 14:51:30 -04:00
Donovan Glover
2de95cbfaf
Revert "nix: Use flake-programs-sqlite for command-not-found"
Would rather not deal with an additional flake input here to keep things
simple.
2024-07-18 14:32:14 -04:00
Donovan Glover
f1ee89ddc8
nix: Use flake-programs-sqlite for command-not-found
This was my attempt at using flake-programs-sqlite, which worked, but
requires an additional flake input in order to function properly.
2024-07-18 14:29:39 -04:00
Donovan Glover
838dedede9
ironbar: Drop tray for now
Currently the tray shows duplicate icons and crashes when Mullvad VPN is
started, making it less than ideal for daily use.
2024-07-18 13:33:05 -04:00
Donovan Glover
26d01911e4
chore: Clean up nix code
- Added missing `services` prefix to xserver option
- Simplified options in system.nix
- Removed unused `optionals` binding
2024-07-18 13:31:13 -04:00
Donovan Glover
787dda981b
Reapply "meta: Replace dunst with swaync"
Might be able to use swaync after all if I avoid using the mpris module
with it. This has the advantage of being supported by ironbar, which
would make missing notifications less likely.
2024-07-18 13:30:20 -04:00
Donovan Glover
40ea3c1b3c
phone(dconf): Suspend on battery only
Suspend *significantly* increases the battery life of the phone at the
cost of not receiving internet-based notifications.
2024-07-18 13:03:29 -04:00
Donovan Glover
16258b3374
nix: Update version from 2.18 to 2.22
This should fix a few issues with Nix that were fixed in newer
versions.
2024-07-18 12:55:35 -04:00
Donovan Glover
b4d3190167
stylix: Dynamically generate wallpaper from color scheme
Fixes an issue where previously the background color would be incorrect
when the color scheme was changed, which was particularly noticeable on
Phosh where the background would display when toggling the on-screen
keyboard.

Note that the logo has been intentionally left out this time to simplify
things a bit.
2024-07-18 11:05:08 -04:00
Donovan Glover
40c7b04a9a
chore: Clean up language specifiers
- Removed useless /* bash */ specifier
- Used new hyprlang specifier for Hyprland
- Removed or replaced old /* config */ specifiers
2024-07-18 11:00:34 -04:00
Donovan Glover
345dbe9ce5
phone(dconf): Add Japanese keyboard to squeekboard 2024-07-18 00:03:37 -04:00
Donovan Glover
41deea0272
phone(dconf): Enable suspend in dropdown menu 2024-07-18 00:02:32 -04:00
Donovan Glover
d6d298491a
phone(dconf): Use gallery without sidebar for eog
Makes the image viewer work well out-of-the-box.
2024-07-17 22:46:35 -04:00
Donovan Glover
a8856e9334
phone(dconf): Show battery percentage 2024-07-17 22:46:02 -04:00
Donovan Glover
57a276ff39
phone(dconf): Shuffle keypad 2024-07-17 22:45:40 -04:00
Donovan Glover
dded6eb37f
phosh: Simplify background css 2024-07-17 20:49:59 -04:00
Donovan Glover
c6707b2429
neovim: Drop base16-nvim version override
Color differences seem to be fixed now, possibly because of neovim
v0.10.0.
2024-07-17 19:47:26 -04:00
Donovan Glover
d1cd4a9f27
overlays(ironbar): Update to latest commit 2024-07-17 19:16:10 -04:00
Donovan Glover
6f74c76d2d
chore: Improve readability of phone configuration 2024-07-17 19:07:12 -04:00
Donovan Glover
9368bdc58a
ironbar: Fix volume sliders not showing properly
Now it's possible to actually see the volume sliders.
2024-07-17 18:50:51 -04:00
Donovan Glover
2e721b1cdf
ironbar: Add back volume popup
The on-click was extremely buggy so the popup should be preferred where
possible.
2024-07-17 18:49:52 -04:00
Donovan Glover
9e75db68b0
phone: Use alacritty as the terminal of choice
Kitty doesn't have touch support and gnome-console is pretty slow with
broken text rendering with fractional scaling, so alacritty is the best
option we have here.
2024-07-17 15:29:59 -04:00
Donovan Glover
61994a0cc3
shell: Replace neofetch with fastfetch
Faster and contains more useful information.
2024-07-17 15:28:27 -04:00
Donovan Glover
d7bc4375d8
home: Add alacritty config
Alacritty has vastly superior touch support compared to kitty, which
doesn't feature touch support at all. The simplicity of Alacritty also
makes it faster and overall cleaner to use than GNOME Console (kgx).
2024-07-17 07:46:58 -04:00
Donovan Glover
bd29ae2517
git: Remove useless browser specifier
This *shouldn't* have changed anything anyway since `man git-web--browse`
suggests that only a subset of browsers are supported anyway, which
doesn't include librewolf.
2024-07-17 07:17:14 -04:00
Donovan Glover
99db650782
kitty: Remove useless browser specifier
Should make the config more portable by not explicitly declaring
librewolf here.
2024-07-17 07:15:58 -04:00
Donovan Glover
86a786cf1f
phone: Move phone-specific config out of system 2024-07-17 06:49:59 -04:00
Donovan Glover
2cd3aaf869
phone: Remove useless home-manager modules from desktop 2024-07-17 06:47:15 -04:00
Donovan Glover
3621b63e20
Revert "system: Generate man page caches on phone"
This actually increases the build time from about 1 minute and 45
seconds to 19 minutes and 15 seconds, which is a bit too long for
my tastes.
2024-07-17 06:44:05 -04:00
Donovan Glover
a177b0d9d8
system: Generate man page caches on phone
Shouldn't be too bad now hopefully.
2024-07-17 06:16:01 -04:00
Donovan Glover
b6ad10cbd9
chore: Update mobile-nixos to remove sound.enable 2024-07-17 05:58:13 -04:00
Donovan Glover
c0d07eb032
chore: Update stylix / home-manager inputs 2024-07-17 05:57:54 -04:00
Donovan Glover
591747784e
phone: Move containers config out of container module
We should explicitly enable it instead of conditionally disable it.
2024-07-17 05:55:17 -04:00
Donovan Glover
44cf7e6832
meta: Move phone-specific apps to host
Might turn this into a module later and use the standard
`module.enable = true` syntax.
2024-07-16 12:27:41 -04:00
Donovan Glover
fa16ccaada
chore: Update i18n.inputMethod options
i18n.inputMethod.enabled was changed to .enable and .type.
2024-07-16 12:25:06 -04:00
Donovan Glover
120047d37d
dual-function-keys: Drop all binds except caps lock as ctrl/esc
This should help avoid surprises when using other computers and simplify
things a bit. Note that super for the application launcher was cool but
now I prioritize launching applications from ironbar instead.
2024-07-15 20:32:20 -04:00
Donovan Glover
a2f21d1eca
chore: Update to latest nixos-unstable release
Seems to work so far and comes with the icoextract fix and the walker
update.
2024-07-15 20:28:44 -04:00
Donovan Glover
b3cfdaab9a
ironbar: Add attempt at using volume module
This was my attempt at using the volume module, however I'd rather not
have to deal with using the small sliders that are extremely difficult
to see with the GTK theme I'm using.

I tried changing the colors with color, background, and border-color,
however I wasn't able to achieve the appearance I wanted, and disabling
the built-in popup results in a buggy left-clicking experience.
2024-07-15 19:45:44 -04:00
Donovan Glover
b5fff96a91
ironbar: Don't show battery status if no battery 2024-07-15 18:27:51 -04:00
Donovan Glover
8abb714021
hyprland: Use new seasonal backgrounds
It's that time of year again.
2024-07-15 18:24:29 -04:00
Donovan Glover
3a8f3bcd32
ironbar: Let mullvad handle notifications
Simplifies things a bit.
2024-07-15 18:13:12 -04:00
Donovan Glover
61b5a5dd31
home-manager: Add chromium config
Fixes issues encountered with xwayland + ironbar and fcitx5 not
working with the wayland version.

See: https://wiki.archlinux.org/title/Chromium#Native_Wayland_support
2024-07-15 17:02:38 -04:00
Donovan Glover
7a95a8c4fd
overlays(hyprland): Drop keyboard focus patch
Would rather not have to worry about compiling Hyprland if I can avoid
it since I've already compiled it so many times already.
2024-07-15 17:02:27 -04:00
Donovan Glover
b877855580
dual-function-keys: Prefer media keys over Super+F1/F2
Should make these keys easier to use and understand.
2024-07-15 17:02:18 -04:00
Donovan Glover
986df40078
hyprland: Remove touch-specific stuff
Will stop trying to make Hyprland work on mobile devices due to all the
issues with it for now.

For future reference, some issues include:

- Touch events not registering as touches, thus breaking applications
  that have touch support like LibreWolf with FriendlyFox.
- OSK support in general being not there yet with the best keyboard
  Squeekboard not working and wvkbd not being comfy enough to use.
- Screen size in general being small already so having multiple apps
  side-by-side is mostly useless, especially when the OSK interferes
  with this as well.
2024-07-15 12:08:47 -04:00
Donovan Glover
a772d0e164
hyprland: Attempt to use hide on touch feature
This worked but broke when changing the display from e.g. 200% scaling
to 100% scaling. Since being able to easily change the scaling of
Hyprland was one of the main reasons I wanted to try Hyprland over
Phosh, I don't really have a use case for Hyprland on touch devices at
this moment, especially with all the drawbacks of using it on such a
small screen and without hardware acceleration.
2024-07-15 11:52:45 -04:00
Donovan Glover
65d8295a04
Revert "desktop: Use はちまるポップ font on phone"
This was an interesting experiment however it wasn't very practical
since text became difficult to read and the wider width of the font
broke a lot of programs on the small PinePhone screen.
2024-07-15 11:38:57 -04:00
Donovan Glover
9ce417830e
desktop: Don't bloat with phone conditionals
Should make things easier to manage now that we've technically tried
Hyprland with gestures but prefer Phosh for usability.
2024-07-15 11:37:31 -04:00