Donovan Glover
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
Donovan Glover
d5f8261627
flake: Switch to mobile-nixos fork to fix call volume
...
We should be able to fix more things in the fork later.
2024-06-27 18:45:41 -04:00
Donovan Glover
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
Donovan Glover
99a570f9a4
phone: Continue dropping apps
...
The goal is to replace most of these with the terminal or the web
browser since GTK applications tend to be slower than both on the
PinePhone.
2024-06-26 20:21:55 -04:00
Donovan Glover
97fdb6d22a
neovim: Drop fcitx-vim
...
This was significantly increasing start time and I didn't use it too
much. There should be lighter alternatives out there that aren't
packaged in nixpkgs.
2024-06-25 23:36:45 -04:00
Donovan Glover
40090d7ef1
phone: Remove legacy hyprland
...
Unfortunately there are too many bugs for Hyprland on the PinePhone such
as hardware accelerated videos appearing red and convergence in general
being much slower than the phosh counterpart.
2024-06-25 10:55:38 -04:00
Donovan Glover
ce5093aa34
nix: opengl.driSupport32Bit -> graphics.enable32Bit
...
Necessary for the latest nixos-unstable release.
2024-06-25 10:52:27 -04:00
Donovan Glover
f6fc80c1f0
nix: hardware.opengl.enable -> hardware.graphics.enable
...
hardware.opengl.enable is now deprecated.
2024-06-25 10:49:08 -04:00
Donovan Glover
742ab4508c
flake: Update to latest nixos-unstable release
...
Also has the latest version of hyprland.
2024-06-24 21:03:20 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
a9ba67d449
phone: Continue dropping applications
...
Many of these things I can show in a custom fetch script when opening
the terminal.
2024-06-24 14:36:28 -04:00
Donovan Glover
8af4d55361
phone: Update device UUIDs
...
Necessary since we had to reinstall Mobile NixOS due to being unable to
recover from a chroot.
2024-06-24 13:00:09 -04:00
Donovan Glover
26c79b093b
system: Use systemd config for phone
...
Should decrease startup times and prevent shutdowns from hanging.
2024-06-23 13:53:21 -04:00
Donovan Glover
abc61e5355
phone: Continue dropping unwanted applications
...
Most of these have a subpar mobile experience.
2024-06-23 13:52:48 -04:00
Donovan Glover
8bfc0ebf36
system: Always exclude gnome-tour
...
Should prevent gnome-tour from showing in phosh.
2024-06-23 09:46:56 -04:00
Donovan Glover
83740051ea
phone: Enable 100% zram
...
Shouldn't break anything. This is mostly a safeguard to ensure that
systemd didn't SIGSEGV and freeze last time due to memory concerns.
2024-06-23 09:45:10 -04:00
Donovan Glover
b2556260df
desktop: Continue removing unwanted mobile applications
...
Most of these applications are poorly designed for mobile,
don't start up at all, or aren't relevant for my use case.
Note that the correct `portfolio` application was actually
`portfolio-filemanager` in nixpkgs, and I removed it due to
the lack of thumbnailing support.
2024-06-21 20:43:05 -04:00
Donovan Glover
31ab36fe78
phone: Add mullvad support by disabling checkReversePath
...
`networking.firewall.checkReversePath` was being set to "loose" from
Mullvad VPN, which was causing an issue with the kernel used by the
PinePhone with Mobile NixOS.
By changing this option to `false`, we get rid of the "This kernel does
not support rpfilter" error, which seems to be inaccurate due to the
result of `sysctl -a | grep \\.rp_filter` on the phone being consistent
with the result on the laptop.
2024-06-21 20:34:09 -04:00
Donovan Glover
e030aa9687
phosh: Enable xwayland support
...
This fixes an issue where some applications would fail to open entirely
at the cost of lower quality graphics.
2024-06-21 18:47:26 -04:00
Donovan Glover
f51e8f8cf7
desktop: Remove unnecessary mobile applications
...
A lot of these applications are cute but I'd never end up using them,
such as a regular expression GUI and other novelties that web
applications accomplish in a more advanced manner.
2024-06-21 05:48:13 -04:00
Donovan Glover
26feb91693
desktop: Test some mobile applications
...
Committing this so I remember which programs I tested when experimenting
with GUI applications with mobile/touch support.
Derived from https://linuxphoneapps.org/packaged-in/nix-unstable/
2024-06-21 05:19:21 -04:00
Donovan Glover
6b00f45997
nix: Remove usage of with lib;
...
A new best practice.
2024-06-21 00:40:38 -04:00
Donovan Glover
a3194f8f0c
ci: Check all systems
2024-06-20 23:14:05 -04:00
Donovan Glover
f842f5f6bc
ci: Fix old hardware configuration path
...
Should make the ci pass.
2024-06-20 22:40:09 -04:00
Donovan Glover
79401e029b
system(nix): Forbid import from derivation
...
Helps prevent issues where we accidentally use an import from derivation
and cause flakes with multiple platforms to fail when running things
like `nix flake check`.
2024-06-20 22:33:59 -04:00
Donovan Glover
3b25740fb1
neovim: Inherit scheme instead of slug from stylix
...
Fixes an issue where importing the path directly changed the slug name
in stylix.
2024-06-20 22:31:35 -04:00
Donovan Glover
9bd004c3a8
nix: Avoid IFD by importing base16 scheme directly
...
This fixes an issue where previously the derivation had to be evaluated
before importing the base16 scheme, thus causing `nix flake check` to
fail when multi-platform support was added.
See: https://github.com/NixOS/nix/issues/4265
2024-06-20 21:58:16 -04:00
Donovan Glover
b80f3f2340
meta: Use standard hosts directory
...
This makes sense now that we have multiple hosts in the same flake.
2024-06-20 21:34:57 -04:00
Donovan Glover
16890d6f08
ci: Fix incorrect with:
usage
2024-06-20 20:32:48 -04:00
Donovan Glover
2ff4d6337f
ci: Add aarch64-linux to extra-platforms
...
Might fix the ci.
2024-06-20 20:29:48 -04:00
Donovan Glover
665430f2ce
ci: Update nix from 2.20.5 to 2.22.1
...
Might fix the ci.
2024-06-20 19:23:58 -04:00
Donovan Glover
08f0823b61
flake: Remove unnecessary aarch64 tests value
...
Might fix the ci.
2024-06-20 17:29:20 -04:00
Donovan Glover
3862b068cd
flake: Update base16-schemes derivation
...
Might fix the ci.
2024-06-20 17:08:44 -04:00
Donovan Glover
707a7e40b6
flake: Only run tests with x86_64-linux
...
Should fix an issue where aarch64 was failing.
2024-06-20 16:15:55 -04:00
Donovan Glover
6b404306bf
meta: Only install texlive on desktop
...
Let's not write papers on the phone.
2024-06-20 13:50:16 -04:00
Donovan Glover
3e5a395dc8
containers: Don't enable on phone
...
Fixes an issue where the build would previously fail.
2024-06-20 13:49:39 -04:00
Donovan Glover
708bec1773
desktop: Add phone-specific applications
...
GNOME Console seems to be more user-friendly for touch compared to
kitty. Not all on-screen keyboards work out of the box with hyprland.
2024-06-20 13:42:54 -04:00
Donovan Glover
e14045e7d4
phone: Import remaining modules from nix-config
...
This seems to work and now includes the containers module.
2024-06-20 13:28:40 -04:00
Donovan Glover
de2d3550d0
desktop: Add phosh support
...
This should make it easier to switch between hyprland and phosh.
2024-06-20 13:27:40 -04:00
Donovan Glover
abc5dfee07
desktop: Disable fcitx / udisks / pipewire for phosh
2024-06-20 13:19:32 -04:00
Donovan Glover
a9bebdc5f6
system: Only add phone groups when necessary
2024-06-20 13:18:39 -04:00
Donovan Glover
81cb06fc14
desktop: Don't inherit sakaya on phone
...
sakaya only has support for x86_64-linux.
2024-06-20 12:19:57 -04:00
Donovan Glover
c48a01ae7f
system: Don't generate man cache on mobile
...
Significantly improves build times with aarch64 emulation.
2024-06-20 12:16:03 -04:00
Donovan Glover
3a50316006
phone: Add bluetooth / sensor / keyboard binds
...
Noticeably makes the phone much more pleasant to use with the keyboard
I use.
2024-06-20 11:09:05 -04:00
Donovan Glover
700f9aa564
hardware: Add IIO sensor support
...
Doesn't seem to work yet but shouldn't hurt to add for now.
2024-06-20 11:07:31 -04:00
Donovan Glover
30198aa23d
phone: Don't customize hyprland at the configuration level
...
This was causing other options to not be applied correctly.
2024-06-20 10:45:55 -04:00
Donovan Glover
b918c56ccc
phone: Disable hypridle
...
It seems non-trivial to log back into hyprland with hyprlock on the
PinePhone so disabling it entirely makes things easier.
2024-06-19 20:50:26 -04:00