Commit Graph

3001 Commits

Author SHA1 Message Date
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
Donovan Glover
3c38068594
phone: Disable drop shadow / blur / animations
Makes using Hyprland much faster on the PinePhone.
2024-06-19 20:47:39 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
234b373dec
desktop: Add base phone support 2024-06-19 02:06:41 -04:00
Donovan Glover
8bb6a8a24e
system: Add groups from phone
Might reduce this later.
2024-06-19 02:04:47 -04:00
Donovan Glover
510ddfe9d7
hardware: Add phone support
This is untested but should work.
2024-06-19 02:03:02 -04:00
Donovan Glover
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
Donovan Glover
16da2fd144
system: Add phone support 2024-06-19 02:00:34 -04:00
Donovan Glover
11e2304a7f
flake: Include nix-config in phone config args
Fixes infinite recursion issues from self.
2024-06-18 23:58:59 -04:00
Donovan Glover
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
Donovan Glover
8d4d6b53e0
phone: Inherit all overlays
Helps prevent inconsistencies.
2024-06-18 09:01:35 -04:00
Donovan Glover
c83f567708
phone: Mimic system nix settings for now
Should eventually replace this with the system module.
2024-06-17 11:27:01 -04:00
Donovan Glover
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
Donovan Glover
66c01167d0
phone: Add thunar support 2024-06-16 21:10:42 -04:00
Donovan Glover
866cce9f50
phone: Add base home-manager support
This seems to work to an extent.
2024-06-16 15:45:17 -04:00
Donovan Glover
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
Donovan Glover
dd58dff955
flake: Add package support for aarch64 2024-06-16 12:22:07 -04:00
Donovan Glover
c93a5203b7
flake: Add formatting support for aarch64 2024-06-16 12:21:19 -04:00
Donovan Glover
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
Donovan Glover
c0fc4fc4d0
desktop: Add back ringracers
Accidentally removed this without adding it back previously.
2024-06-16 06:20:55 -04:00
Donovan Glover
af678f14d9
phone: Improve virtualization support
Makes things snappier among other things.
2024-06-15 13:49:47 -04:00
Donovan Glover
3ce04d6ed3
phone: Remove default packages 2024-06-15 13:48:56 -04:00
Donovan Glover
dbf440c7a7
phone: Disable link-local multicast name resolution 2024-06-15 13:47:08 -04:00
Donovan Glover
39eef2e126
phone: Enable mac randomization 2024-06-15 13:46:14 -04:00
Donovan Glover
675e7e47de
phone: Don't show errors on unknown shell commands 2024-06-15 13:45:49 -04:00
Donovan Glover
22894d86c4
flake: Add missing bootloader for phone vm
This fixes an issue where `nix flake check` would previously fail.
2024-06-15 13:18:26 -04:00
Donovan Glover
ad506d827e
flake: Merge phone flake with nix-config
This makes sense to avoid having to cd into the phone directory before
being able to do anything.

Note that this time we aren't trying to combine the phone config with
the existing nix modules to keep things simple.
2024-06-15 12:48:40 -04:00
Donovan Glover
0384654ee4
flake: Don't dynamically declare nixosConfigurations
This makes it easier to add hosts that have multiple nixosConfigurations
due to compiling for different architectures.
2024-06-15 12:41:14 -04:00
Donovan Glover
663c89148b
nix: Replace boolean with string for sessionVariables
Fixes an issue where booleans aren't supported here.
2024-06-15 12:28:42 -04:00
Donovan Glover
58a2d8c9a0
phone: Update package list 2024-06-15 12:17:19 -04:00
Donovan Glover
f02ee75aa7
phone: Enable wireguard for VPN 2024-06-15 12:07:24 -04:00
Donovan Glover
8b72be1708
phone: Enable SSH for remote access 2024-06-15 12:06:57 -04:00
Donovan Glover
e7c062344f
meta: Change default theme to selenized-black 2024-06-15 11:59:20 -04:00
Donovan Glover
9dd63e01df
phone: Simplify config 2024-06-15 11:56:02 -04:00
Donovan Glover
3e4d3d1d2e
phone: Add kitty support with LIBGL_ALWAYS_SOFTWARE
The PinePhone uses old enough hardware that newer OpenGL versions aren't
supported, so software rendering must be used to make things work.
2024-06-15 11:48:09 -04:00
Donovan Glover
75e5323720
chore: Fix formatting with nix fmt 2024-06-15 11:42:34 -04:00
Donovan Glover
62bf42eacb
phone: Remove gnome web
A cute browser however the touch gestures get in the way and modern
websites are often broken due to the lack of support for newer web
features.

Generally I've taken a liking to LibreWolf on the PinePhone, even if it
crashes more than I'd like to see.
2024-06-15 11:40:33 -04:00
Donovan Glover
8527ad719d
phone: Add virtual machine support for x86_64-linux
This makes it possible to test the phone config in a virtual machine on
x86_64 machines.
2024-06-15 11:36:04 -04:00