Commit Graph

538 Commits

Author SHA1 Message Date
737d0e2d42 desktop: Use はちまるポップ font on phone
Might revert this later. Mainly used for context switching and to make
the PinePhone more fun to use.
2024-07-08 14:15:50 -04:00
5a5a522a70 chore: Move moved packages out of pkgs.gnome 2024-07-06 17:56:28 -04:00
2050b758ab home-manager: Use string variable for notify-send
Since the variable has to be a string anyway, wrapping the entire
command in it reduces complexity a bit.
2024-07-06 11:17:57 -04:00
307a7fb543 home-manager: Use extraSpecialArgs for shared variables
Makes it possible to avoid inconsistencies with duplicate code.
2024-07-06 11:15:13 -04:00
b004639ea3 hardware: Remove disableLaptopKeyboard option
No longer needed since I've replaced the old laptop keyboard with one
that works.
2024-07-06 09:58:07 -04:00
ff461d9084 hardware: Remove unused sensor option 2024-07-05 17:41:14 -04:00
ad58ee22a6 stylix: Update to latest commit
Dropping the Kvantum fork for now to focus on staying up to date with
the recent Stylix developments.
2024-07-05 15:39:12 -04:00
6e4fc7df14 desktop: Remove unused programs 2024-07-04 23:50:46 -04:00
669de406a6 desktop: Add grim
Useful for screenshots in desktop environments that don't save
screenshots by default, such as Phosh.
2024-06-30 23:37:47 -04:00
bbed73b954 phone: Remove thunar
portfolio-filemanager is more usable on mobile.
2024-06-28 15:00:00 -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
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
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
ce5093aa34 nix: opengl.driSupport32Bit -> graphics.enable32Bit
Necessary for the latest nixos-unstable release.
2024-06-25 10:52:27 -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
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
26c79b093b system: Use systemd config for phone
Should decrease startup times and prevent shutdowns from hanging.
2024-06-23 13:53:21 -04:00
abc61e5355 phone: Continue dropping unwanted applications
Most of these have a subpar mobile experience.
2024-06-23 13:52:48 -04:00
8bfc0ebf36 system: Always exclude gnome-tour
Should prevent gnome-tour from showing in phosh.
2024-06-23 09:46:56 -04:00
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
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
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
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
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
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
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
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
6b404306bf meta: Only install texlive on desktop
Let's not write papers on the phone.
2024-06-20 13:50:16 -04:00
3e5a395dc8 containers: Don't enable on phone
Fixes an issue where the build would previously fail.
2024-06-20 13:49:39 -04:00
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
de2d3550d0 desktop: Add phosh support
This should make it easier to switch between hyprland and phosh.
2024-06-20 13:27:40 -04:00
abc5dfee07 desktop: Disable fcitx / udisks / pipewire for phosh 2024-06-20 13:19:32 -04:00
a9bebdc5f6 system: Only add phone groups when necessary 2024-06-20 13:18:39 -04:00
81cb06fc14 desktop: Don't inherit sakaya on phone
sakaya only has support for x86_64-linux.
2024-06-20 12:19:57 -04:00
c48a01ae7f system: Don't generate man cache on mobile
Significantly improves build times with aarch64 emulation.
2024-06-20 12:16:03 -04:00
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
0e95b81999 desktop: Add hyprland support to phone with legacyRenderer
Time will tell whether or not Hyprland will be preferred over phosh.
2024-06-19 19:54:33 -04:00
234b373dec desktop: Add base phone support 2024-06-19 02:06:41 -04:00
8bb6a8a24e system: Add groups from phone
Might reduce this later.
2024-06-19 02:04:47 -04:00
510ddfe9d7 hardware: Add phone support
This is untested but should work.
2024-06-19 02:03:02 -04:00
6ff271d4e2 system: Disable zram on phone for now
Testing whether or not SIGSEGVs are reduced as a result of disabling
zram.
2024-06-19 02:01:51 -04:00
16da2fd144 system: Add phone support 2024-06-19 02:00:34 -04:00
fb5c7849d0 system: Add wheel group to trusted users
Should prevent issues we ran into previously with things like
nixos-rebuild on remote hosts through ssh with non-root accounts.
2024-06-17 11:25:00 -04:00
000c9f2d90 system: Enable aarch64-linux emulation
This makes it possible to build the phone on the laptop, useful to
significantly reduce build times.
2024-06-16 07:43:56 -04:00
c0fc4fc4d0 desktop: Add back ringracers
Accidentally removed this without adding it back previously.
2024-06-16 06:20:55 -04:00
a629f92827 meta: Revert combining mobile-nixos flake
This was causing a lot of issues unfortunately presumably due to things
not working with the aarch64 PinePhone system. Random errors like
"expected string 'D'" were common and I'd rather use a separate flake to
make things easier to debug and keep evaluation times to a minimum.
2024-06-15 10:47:03 -04:00
8ceb1bf511 flake: Properly handle mobile-nixos module import
This was necessary to avoid issues with conditional imports.
2024-06-14 13:18:45 -04:00
05b14fa423 meta: Merge phone module with system / desktop 2024-06-14 01:21:46 -04:00
eb58e723e2 meta: Migrate phosh options to phone module
Might try going beyond phosh later.
2024-06-13 21:17:28 -04:00