Commit Graph

3270 Commits

Author SHA1 Message Date
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
6b00f45997 nix: Remove usage of with lib;
A new best practice.
2024-06-21 00:40:38 -04:00
a3194f8f0c ci: Check all systems 2024-06-20 23:14:05 -04:00
f842f5f6bc ci: Fix old hardware configuration path
Should make the ci pass.
2024-06-20 22:40:09 -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
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
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
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
16890d6f08 ci: Fix incorrect with: usage 2024-06-20 20:32:48 -04:00
2ff4d6337f ci: Add aarch64-linux to extra-platforms
Might fix the ci.
2024-06-20 20:29:48 -04:00
665430f2ce ci: Update nix from 2.20.5 to 2.22.1
Might fix the ci.
2024-06-20 19:23:58 -04:00
08f0823b61 flake: Remove unnecessary aarch64 tests value
Might fix the ci.
2024-06-20 17:29:20 -04:00
3862b068cd flake: Update base16-schemes derivation
Might fix the ci.
2024-06-20 17:08:44 -04:00
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
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
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
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
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
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
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
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
3c38068594 phone: Disable drop shadow / blur / animations
Makes using Hyprland much faster on the PinePhone.
2024-06-19 20:47:39 -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
f7e484ed7e fix: Patch hyprland v0.41.1 legacyrenderer colors
Should fix an issue where the colors were incorrect.
2024-06-19 03:29:48 -04:00
da614fa655 phone: Use existing modules for configuration
This is a part of keeping the phone in sync with the laptop.
2024-06-19 02:10:21 -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
11e2304a7f flake: Include nix-config in phone config args
Fixes infinite recursion issues from self.
2024-06-18 23:58:59 -04:00
7c2a322c35 phone: Disable pulseaudio / bluetooth / IIO sensors
Bluetooth is presumably broken due to changed file names and IIO sensors
weren't really working properly anyway. Pipewire will be attempted to
see if it fixes some of the issues encountered with Pulseaudio.
2024-06-18 17:44:05 -04:00
8d4d6b53e0 phone: Inherit all overlays
Helps prevent inconsistencies.
2024-06-18 09:01:35 -04:00
c83f567708 phone: Mimic system nix settings for now
Should eventually replace this with the system module.
2024-06-17 11:27:01 -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
66c01167d0 phone: Add thunar support 2024-06-16 21:10:42 -04:00
866cce9f50 phone: Add base home-manager support
This seems to work to an extent.
2024-06-16 15:45:17 -04:00
8236511d5d phone: Add stylix support
This works and is pretty cool since fonts are now uniform with the
laptop. Eventually it should be possible to use the existing module
definitions instead.
2024-06-16 12:54:11 -04:00
dd58dff955 flake: Add package support for aarch64 2024-06-16 12:22:07 -04:00
c93a5203b7 flake: Add formatting support for aarch64 2024-06-16 12:21:19 -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