Commit Graph

3175 Commits

Author SHA1 Message Date
790a7a59fe ironbar: Add notifications module
This seems to work good enough for now, but the icon won't be
immediately updated.
2024-07-21 17:08:26 -04:00
016ed494e4 phone(dconf): Add caffeine quick setting
Necessary for when we want to use the phone without the screen turning
off after 1 minute.
2024-07-21 13:54:18 -04:00
18e04d894f librewolf: Enable userChrome.css customization
Necessary for Mobile-Friendly-Firefox styles to be applied on the
PinePhone.
2024-07-21 13:54:18 -04:00
d2fe48e8d2 chromium: Set webrtc-ip-handling-policy to public interface
Seems to fix an issue where WebRTC was previously broken in
ungoogled-chromium. Note that `default_public_interface_only`
is used instead of `default` to prevent local IP address leaks.
2024-07-21 13:54:18 -04:00
12accb0619 phone(dconf): Limit idle delay to 1 minute
Might help with the phone turning on while pocketed.
2024-07-21 13:54:14 -04:00
a35c91057c phone: Scale cpu frequency down 3 levels
Was crashing way too often with max frequency so hopefully having the
frequency slightly above half the maximum speed makes things more
stable.
2024-07-20 14:48:24 -04:00
e959cd52ea ironbar: Change primary color to new stylix one
This changes the primary color from orange to blue.
2024-07-20 11:40:52 -04:00
f3037ae4b8 hyprland: Shorten window rules 2024-07-20 11:38:22 -04:00
3b2f5d4af3 packages: Add pinephone-toolkit for now
Should be able to eventually replace this with something that aligns
more to my use case.
2024-07-20 10:52:31 -04:00
bb510a6ac6 phone: Use maximum cpu frequency
Seems to be a bit more unstable but the performance difference is huge
enough that I'd rather run this than the minimum cpu frequency.

Battery life seems to be okay with around 3 hours of on-screen time and
low brightness. The massive increase in performance means that there's
much less time spent waiting for the phone, so the decrease in on-screen
time should be offset by how long you have to keep the phone on waiting
for it.
2024-07-19 18:30:25 -04:00
1b3637651a phone(dconf): Add night light quick setting 2024-07-19 18:27:00 -04:00
942f626000 hyprland: Remove old mouse bind keybinds
This wasn't that reproducible since the keybinds were set with piper so
I'd rather not have it in the config.
2024-07-19 15:46:44 -04:00
6a345009f6 chore: Fix formatting 2024-07-19 11:04:11 -04:00
723ca1d36b chore: Update to latest nixos-unstable release 2024-07-19 10:46:07 -04:00
c27a257adc eww: Increase opacity of time overlay 2024-07-18 21:54:54 -04:00
8f45534128 hyprland: Float mullvad browser by default
Floating by default is necessary so the browser is initialized with
the correct window size.
2024-07-18 21:26:23 -04:00
086a70107b phone(dconf): Don't hide non-mobile friendly apps
Easier when all the apps are always available.
2024-07-18 20:47:25 -04:00
7bb8aa9674 eww: Replace hard-coded color values with stylix ones 2024-07-18 19:53:07 -04:00
ce67ffbf73 meta: Rename homeManagerModules attribute to homeModules
This fixes an issue where previously homeManagerModules would be an
unknown flake output. Note that this change is a part of Nix 2.22.3
but not Nix 2.23.3.
2024-07-18 19:43:11 -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
7fe0596d90 phone: Only disable systemd-boot on aarch64
This is necessary since the boot process is handled by mobile-nixos.

Note that the implementation here should allow us to move aarch64
differences out of the flake.nix and simplify nixosConfigurations
again long-term.
2024-07-18 17:50:19 -04:00
d092c5f416 meta: Migrate phosh settings to phone config
Currently there are too many serious issues to realistically use
Hyprland on the PinePhone, and Phosh supports most of the features
we need out of the box anyway, so it makes sense to use that full-time
over trying to make something else work.
2024-07-18 17:10:53 -04:00
200bbc1c51 mobile-nixos: Update kernel from 6.9.0 to 6.9.7
Hopefully this doesn't break anything.
2024-07-18 14:51:30 -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
838dedede9 ironbar: Drop tray for now
Currently the tray shows duplicate icons and crashes when Mullvad VPN is
started, making it less than ideal for daily use.
2024-07-18 13:33:05 -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
787dda981b Reapply "meta: Replace dunst with swaync"
Might be able to use swaync after all if I avoid using the mpris module
with it. This has the advantage of being supported by ironbar, which
would make missing notifications less likely.
2024-07-18 13:30:20 -04:00
40ea3c1b3c phone(dconf): Suspend on battery only
Suspend *significantly* increases the battery life of the phone at the
cost of not receiving internet-based notifications.
2024-07-18 13:03:29 -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
40c7b04a9a chore: Clean up language specifiers
- Removed useless /* bash */ specifier
- Used new hyprlang specifier for Hyprland
- Removed or replaced old /* config */ specifiers
2024-07-18 11:00:34 -04:00
345dbe9ce5 phone(dconf): Add Japanese keyboard to squeekboard 2024-07-18 00:03:37 -04:00
41deea0272 phone(dconf): Enable suspend in dropdown menu 2024-07-18 00:02:32 -04:00
d6d298491a phone(dconf): Use gallery without sidebar for eog
Makes the image viewer work well out-of-the-box.
2024-07-17 22:46:35 -04:00
a8856e9334 phone(dconf): Show battery percentage 2024-07-17 22:46:02 -04:00
57a276ff39 phone(dconf): Shuffle keypad 2024-07-17 22:45:40 -04:00
dded6eb37f phosh: Simplify background css 2024-07-17 20:49:59 -04:00
c6707b2429 neovim: Drop base16-nvim version override
Color differences seem to be fixed now, possibly because of neovim
v0.10.0.
2024-07-17 19:47:26 -04:00
d1cd4a9f27 overlays(ironbar): Update to latest commit 2024-07-17 19:16:10 -04:00
6f74c76d2d chore: Improve readability of phone configuration 2024-07-17 19:07:12 -04:00
9368bdc58a ironbar: Fix volume sliders not showing properly
Now it's possible to actually see the volume sliders.
2024-07-17 18:50:51 -04:00
2e721b1cdf ironbar: Add back volume popup
The on-click was extremely buggy so the popup should be preferred where
possible.
2024-07-17 18:49:52 -04:00
9e75db68b0 phone: Use alacritty as the terminal of choice
Kitty doesn't have touch support and gnome-console is pretty slow with
broken text rendering with fractional scaling, so alacritty is the best
option we have here.
2024-07-17 15:29:59 -04:00
61994a0cc3 shell: Replace neofetch with fastfetch
Faster and contains more useful information.
2024-07-17 15:28:27 -04:00
d7bc4375d8 home: Add alacritty config
Alacritty has vastly superior touch support compared to kitty, which
doesn't feature touch support at all. The simplicity of Alacritty also
makes it faster and overall cleaner to use than GNOME Console (kgx).
2024-07-17 07:46:58 -04:00
bd29ae2517 git: Remove useless browser specifier
This *shouldn't* have changed anything anyway since `man git-web--browse`
suggests that only a subset of browsers are supported anyway, which
doesn't include librewolf.
2024-07-17 07:17:14 -04:00
99db650782 kitty: Remove useless browser specifier
Should make the config more portable by not explicitly declaring
librewolf here.
2024-07-17 07:15:58 -04:00
86a786cf1f phone: Move phone-specific config out of system 2024-07-17 06:49:59 -04:00
2cd3aaf869 phone: Remove useless home-manager modules from desktop 2024-07-17 06:47:15 -04:00