Commit Graph

60 Commits

Author SHA1 Message Date
07ea9018f9 phone: Drop gnome-maps
Was a pain to use on the PinePhone and slower than just using maps
in a web browser.
2024-08-01 16:24:19 -04:00
2adb6a38e4 phone: Replace gnome-sound-recorder with asak
Terminal-based sound recording aligns more with my use case here.
2024-07-28 21:50:04 -04:00
28c984c24b phone: Add gnome maps config
Note that I actually prefer online maps since GNOME Maps is quite slow
on the PinePhone, making it a pain to use.
2024-07-28 14:44:55 -04:00
493a5c631d phone: Drop xdg user dirs
Will instead have everything in $HOME since it's not planned to have a
lot of files on the device anyway.
2024-07-25 16:50:55 -04:00
1192d7a14b phone: Remove unused packages
- mpv: No hardware acceleration makes it useless under phosh
- thunar: Viewport breaks when using non-English UI
- ncmpcpp: Phone screen is too small to show display
- papers: Gets cut off due to the 200% zoom and 1440x720 resolution
- geary: Not interested in storing emails on the phone
2024-07-24 15:22:50 -04:00
0652ba94ca phone: Lower cpu frequency to 0.912 GHz
Previously the phone would often lock up when performing simple
operations like copying files during a remote nixos-rebuild.
2024-07-23 19:19:13 -04:00
a04be3defd hardware: Suspend on power key press 2024-07-23 15:37:24 -04:00
e4d273cb6c phone: Update package list
The "caerbannog" GTK-based pass program crashes and Phosh mobile
settings is no longer needed due to configuring dconf settings with nix.
2024-07-22 02:22:27 -04:00
47617c7c3a desktop: Use vagrant with libvirtd
Sometimes it's necessary to spin up a virtual machine.

NixOS conveniently has libvirt support built-in, so virtualbox
isn't necessary.
2024-07-22 01:08:09 -04:00
016ed494e4 phone(dconf): Add caffeine quick setting
Necessary for when we want to use the phone without the screen turning
off after 1 minute.
2024-07-21 13:54:18 -04:00
12accb0619 phone(dconf): Limit idle delay to 1 minute
Might help with the phone turning on while pocketed.
2024-07-21 13:54:14 -04:00
a35c91057c phone: Scale cpu frequency down 3 levels
Was crashing way too often with max frequency so hopefully having the
frequency slightly above half the maximum speed makes things more
stable.
2024-07-20 14:48:24 -04:00
bb510a6ac6 phone: Use maximum cpu frequency
Seems to be a bit more unstable but the performance difference is huge
enough that I'd rather run this than the minimum cpu frequency.

Battery life seems to be okay with around 3 hours of on-screen time and
low brightness. The massive increase in performance means that there's
much less time spent waiting for the phone, so the decrease in on-screen
time should be offset by how long you have to keep the phone on waiting
for it.
2024-07-19 18:30:25 -04:00
1b3637651a phone(dconf): Add night light quick setting 2024-07-19 18:27:00 -04:00
6a345009f6 chore: Fix formatting 2024-07-19 11:04:11 -04:00
086a70107b phone(dconf): Don't hide non-mobile friendly apps
Easier when all the apps are always available.
2024-07-18 20:47:25 -04:00
ce67ffbf73 meta: Rename homeManagerModules attribute to homeModules
This fixes an issue where previously homeManagerModules would be an
unknown flake output. Note that this change is a part of Nix 2.22.3
but not Nix 2.23.3.
2024-07-18 19:43:11 -04:00
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
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
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
345dbe9ce5 phone(dconf): Add Japanese keyboard to squeekboard 2024-07-18 00:03:37 -04:00
41deea0272 phone(dconf): Enable suspend in dropdown menu 2024-07-18 00:02:32 -04:00
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
a8856e9334 phone(dconf): Show battery percentage 2024-07-17 22:46:02 -04:00
57a276ff39 phone(dconf): Shuffle keypad 2024-07-17 22:45:40 -04:00
6f74c76d2d chore: Improve readability of phone configuration 2024-07-17 19:07:12 -04:00
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
86a786cf1f phone: Move phone-specific config out of system 2024-07-17 06:49:59 -04:00
2cd3aaf869 phone: Remove useless home-manager modules from desktop 2024-07-17 06:47:15 -04:00
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
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
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
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
3ef29d27c2 meta: Add back hyprland to phone
Will be trying this again since Hyprland offers a substantial
performance improvement over Phosh and hardware accelerated videos
are broken anyway with the lower cpu speed.
2024-07-14 21:28:40 -04:00
051c903154 meta: Move phosh config to specialization
This is part of attempting to use Hyprland over Phosh (again) for
more control over things.
2024-07-14 21:12:03 -04:00
23b970e750 phone: Use custom backgrounds with phosh
Seems to make using phosh more interesting than without, although I'd
like to try using Hyprland again instead.
2024-07-09 23:46:19 -04:00
5c9f94c4ce phone: Don't build unnecessary packages 2024-07-08 14:07:23 -04:00
99dcd2d2be laptop: Enable keyboard 2024-07-05 17:41:55 -04:00
09fe14d21d phone: Remove fcitx
Doesn't work in Phosh unfortunately. Hyprland would be ideal if we had
time to make a keyboard that worked.
2024-06-30 13:48:04 -04:00
3f25b52168 Revert "phone: Enable irqbalance"
Phone runs much, much cooler without irqbalance enabled and `cat
/sys/class/thermal/thermal_zone0/temp` often reports a difference of
at least 10000, such as from 46897 to 36367. In other words, the phone
seems to be consistently 20 degrees fahrenheit cooler.
2024-06-29 07:23:58 -04:00
c3517fb7bc phone: Enable irqbalance
Supposedly increases battery life.
2024-06-29 05:48:01 -04:00
bbed73b954 phone: Remove thunar
portfolio-filemanager is more usable on mobile.
2024-06-28 15:00:00 -04:00
a9e27e260b phone: Use minimum cpu clock rate
Fixes an issue where the phone would consistently crash all the time
when performing slightly intensive tasks.
2024-06-28 13:55:24 -04:00
299a5e0bd6 Revert "meta: Add attempt at using gnome-mobile" 2024-06-27 23:02:38 -04:00
961c2f1b62 meta: Add attempt at using gnome-mobile
This was my attempt at using GNOME Mobile. It works inside the x86_64
virtual machine but fails when reaching "Started Display Manager" on the
actual device.
2024-06-27 22:56:41 -04:00
c28411e747 phone: Explicitly disable pipewire
Somehow pipewire got enabled by something else in the config. By
explicitly disabling it, we're able to make phone calls work again.
2024-06-26 23:57:03 -04:00
99f6ba7e87 phone: Drop LIBGL_ALWAYS_SOFTWARE
This was used to get kitty to work however GNOME terminal is much faster
than kitty on the PinePhone and has touch support, making it superior
for daily use.
2024-06-24 20:13:36 -04:00
ebaaa235ad phone: Only include phinger-cursors overlay
We don't need to overlay neovim since we aren't using kitty on the
phone.
2024-06-24 20:12:05 -04:00
939cdb90e9 phone: Only import needed home-manager modules
Now that hyprland is confirmed to be a no-go for the phone, this commit
begins making the system closure smaller.
2024-06-24 19:10:54 -04:00
e36fcaf2c6 hardware: Drop phone configuration
We'll handle this directly in the phone configuration.nix instead since
it's simplified now.
2024-06-24 16:22:08 -04:00