Commit Graph

25 Commits

Author SHA1 Message Date
Donovan Glover
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
Donovan Glover
5c9f94c4ce
phone: Don't build unnecessary packages 2024-07-08 14:07:23 -04:00
Donovan Glover
99dcd2d2be
laptop: Enable keyboard 2024-07-05 17:41:55 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
c3517fb7bc
phone: Enable irqbalance
Supposedly increases battery life.
2024-06-29 05:48:01 -04:00
Donovan Glover
bbed73b954
phone: Remove thunar
portfolio-filemanager is more usable on mobile.
2024-06-28 15:00:00 -04:00
Donovan Glover
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
Donovan Glover
299a5e0bd6
Revert "meta: Add attempt at using gnome-mobile" 2024-06-27 23:02:38 -04:00
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
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
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
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
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
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
a2886940f4
nix: Move hosts to src
Might change this later once home-manager and nixos modules are
separated.
2023-06-12 13:26:54 -04:00
Donovan Glover
43a07cc8d9
treewide: Switch from alejandra to nixpkgs-fmt
Neither nixfmt nor alejandra support the "standard" way to syntax
highlight multi-line strings in Nix, so nixpkgs-fmt is the only viable
solution.
2023-06-11 09:37:27 -04:00
Donovan Glover
3878a636d9
nix: Remove unused argument 2023-06-06 07:14:46 -04:00
Donovan Glover
a0dae2344d
nix: Use hosts directory
This may be useful if I want to try NixOS on another host in the future.
2023-06-05 21:23:28 -04:00
Donovan Glover
ad5f9aa991
Remove hosts directory for now
A hosts directory may be useful later.
2023-05-11 19:31:35 -04:00
Donovan Glover
2c9327b039
nix: Use hosts directory
This should make it easier to derive multiple output machines from the
same input flake.nix.
2023-05-09 20:13:37 -04:00