Commit Graph

563 Commits

Author SHA1 Message Date
71bcb6fdcf meta: Use wl-clipboard-rs on phone
Makes it easier to take screenshots since Phosh doesn't support
automatically saving screenshots by default.
2024-08-01 16:26:11 -04:00
2adb6a38e4 phone: Replace gnome-sound-recorder with asak
Terminal-based sound recording aligns more with my use case here.
2024-07-28 21:50:04 -04:00
5806fd96cf chore: Drop unused packages
- kanjidraw: Online alternatives with radicals etc. are better
- dmenu-wayland: Breaks with multiple monitors
- obs: Easier to use wf-recorder
- wallust: Easier to use stylix
2024-07-25 16:55:10 -04:00
9a84af4535 shell: Drop cargo-edit
This was used for "cargo upgrade" however there have been major
improvements to cargo since I added this and dependabot on GitHub
handles this better anyway.

One major downside of cargo-edit was that it would take a very long time
for the initial upgrade to occur, which made me use "cargo update" more
anyway to avoid the long wait times.
2024-07-24 16:14:25 -04:00
a04be3defd hardware: Suspend on power key press 2024-07-23 15:37:24 -04:00
47617c7c3a desktop: Use vagrant with libvirtd
Sometimes it's necessary to spin up a virtual machine.

NixOS conveniently has libvirt support built-in, so virtualbox
isn't necessary.
2024-07-22 01:08:09 -04:00
e45b3b6af1 nix: Downgrade from nix 2.23.3 to 2.22.3
It turns out that nixVersions.latest is actually 2.23.3 now and this
version conveniently doesn't have the new homeModules attribute for
flake check backported yet, so we have to downgrade to 2.22.3 anyway.

See: 0a78a55d51
2024-07-18 19:39:03 -04:00
2de95cbfaf Revert "nix: Use flake-programs-sqlite for command-not-found"
Would rather not deal with an additional flake input here to keep things
simple.
2024-07-18 14:32:14 -04:00
f1ee89ddc8 nix: Use flake-programs-sqlite for command-not-found
This was my attempt at using flake-programs-sqlite, which worked, but
requires an additional flake input in order to function properly.
2024-07-18 14:29:39 -04:00
26d01911e4 chore: Clean up nix code
- Added missing `services` prefix to xserver option
- Simplified options in system.nix
- Removed unused `optionals` binding
2024-07-18 13:31:13 -04:00
16258b3374 nix: Update version from 2.18 to 2.22
This should fix a few issues with Nix that were fixed in newer
versions.
2024-07-18 12:55:35 -04:00
b4d3190167 stylix: Dynamically generate wallpaper from color scheme
Fixes an issue where previously the background color would be incorrect
when the color scheme was changed, which was particularly noticeable on
Phosh where the background would display when toggling the on-screen
keyboard.

Note that the logo has been intentionally left out this time to simplify
things a bit.
2024-07-18 11:05:08 -04:00
61994a0cc3 shell: Replace neofetch with fastfetch
Faster and contains more useful information.
2024-07-17 15:28:27 -04:00
86a786cf1f phone: Move phone-specific config out of system 2024-07-17 06:49:59 -04:00
3621b63e20 Revert "system: Generate man page caches on phone"
This actually increases the build time from about 1 minute and 45
seconds to 19 minutes and 15 seconds, which is a bit too long for
my tastes.
2024-07-17 06:44:05 -04:00
a177b0d9d8 system: Generate man page caches on phone
Shouldn't be too bad now hopefully.
2024-07-17 06:16:01 -04:00
591747784e phone: Move containers config out of container module
We should explicitly enable it instead of conditionally disable it.
2024-07-17 05:55:17 -04:00
44cf7e6832 meta: Move phone-specific apps to host
Might turn this into a module later and use the standard
`module.enable = true` syntax.
2024-07-16 12:27:41 -04:00
fa16ccaada chore: Update i18n.inputMethod options
i18n.inputMethod.enabled was changed to .enable and .type.
2024-07-16 12:25:06 -04:00
120047d37d dual-function-keys: Drop all binds except caps lock as ctrl/esc
This should help avoid surprises when using other computers and simplify
things a bit. Note that super for the application launcher was cool but
now I prioritize launching applications from ironbar instead.
2024-07-15 20:32:20 -04:00
b877855580 dual-function-keys: Prefer media keys over Super+F1/F2
Should make these keys easier to use and understand.
2024-07-15 17:02:18 -04:00
65d8295a04 Revert "desktop: Use はちまるポップ font on phone"
This was an interesting experiment however it wasn't very practical
since text became difficult to read and the wider width of the font
broke a lot of programs on the small PinePhone screen.
2024-07-15 11:38:57 -04:00
9ce417830e desktop: Don't bloat with phone conditionals
Should make things easier to manage now that we've technically tried
Hyprland with gestures but prefer Phosh for usability.
2024-07-15 11:37:31 -04:00
3ef29d27c2 meta: Add back hyprland to phone
Will be trying this again since Hyprland offers a substantial
performance improvement over Phosh and hardware accelerated videos
are broken anyway with the lower cpu speed.
2024-07-14 21:28:40 -04:00
051c903154 meta: Move phosh config to specialization
This is part of attempting to use Hyprland over Phosh (again) for
more control over things.
2024-07-14 21:12:03 -04:00
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