Commit Graph

3336 Commits

Author SHA1 Message Date
Donovan Glover
2ade2d58d5
mobile-nixos: Update kernel from 6.9.7 to 6.9.10
Have to rebuild the kernel anyway so might as well use the new one.
2024-08-04 15:35:46 -04:00
Donovan Glover
accf30ec0b
ironbar: Update to latest commit
Also patches an issue where Mullvad VPN would crash ironbar if
the tray module was enabled.
2024-08-04 11:34:40 -04:00
Donovan Glover
def180fb2d
chore: Update to latest nixos-unstable release 2024-08-04 11:14:18 -04:00
Donovan Glover
c31d8591a9
chore: Update flake inputs 2024-08-03 22:41:11 -04:00
Donovan Glover
99e262d404
chore: Remove old rmpc patch 2024-08-03 21:25:31 -04:00
Donovan Glover
502580b3e9
packages: Drop pinephone-toolkit
Edit /sys/class/leds/**/brightness directly instead.
2024-08-03 21:12:32 -04:00
Donovan Glover
1e0c1453ef
Revert "ci: Add nixd / nixf-tidy"
nixf-tidy only works for pull requests.
2024-08-03 20:08:09 -04:00
Donovan Glover
8f15d851ad
ironbar: Sleep before getting volume
Fixes a race condition where the volume didn't show in time.
2024-08-03 19:50:31 -04:00
Donovan Glover
817629fb0a
chore: Update to latest nixos-unstable release 2024-08-03 19:44:23 -04:00
Donovan Glover
1c668bde68
chore: Format with nix fmt
nixfmt-rfc-style collapses lists like these.
2024-08-03 15:27:04 -04:00
Donovan Glover
0803c83f2c
flake: Switch formatter from nixpkgs-fmt to nixfmt-rfc-style
Welcome to the new era.

Hopefully the last formatter change for a while.
2024-08-03 15:26:02 -04:00
Donovan Glover
8ece3e2812
treewide: Format remaining files with nixfmt-rfc-style 2024-08-03 14:49:00 -04:00
Donovan Glover
a32f73a388
modules: Format with nixfmt-rfc-style 2024-08-03 14:40:07 -04:00
Donovan Glover
1d0296c209
overlays: Format with nixfmt-rfc-style 2024-08-03 14:32:56 -04:00
Donovan Glover
4cbceec89c
containers: Format with nixfmt-rfc-style 2024-08-03 14:32:15 -04:00
Donovan Glover
18c0cb3933
example: Format with nixfmt-rfc-style 2024-08-03 14:31:14 -04:00
Donovan Glover
14f65a9633
home: Format with nixfmt-rfc-style 2024-08-03 14:22:47 -04:00
Donovan Glover
4f8625c1bf
packages: Format with nixfmt-rfc-style 2024-08-03 13:54:56 -04:00
Donovan Glover
d963032159
treewide(stylix): Use withHashtag where possible 2024-08-03 13:28:03 -04:00
Donovan Glover
24e1e92ece
Revert "hyprland: Theme Qt applications with stylix update"
Now back to kvantum since the stylix update had issues.
2024-08-03 12:56:10 -04:00
Donovan Glover
19ceda95a8
phone: Limit dirty_ratio / dirty_background_ratio
Been running this for a few days now and it seems to make the phone
significantly slower under load but reduces the probability of hanging
and crashing by quite a bit.

Plan to try this later with maximum CPU frequency to see if high CPU
frequency still crashes the PinePhone.
2024-08-03 12:46:47 -04:00
Donovan Glover
95f52d6e39
ci: Add nixd / nixf-tidy
Not tested.
2024-08-03 12:31:32 -04:00
Donovan Glover
1f1600a212
ci: Add statix check
Not tested.
2024-08-03 12:30:04 -04:00
Donovan Glover
55fbafa129
meta: Move base16-nvim config into stylix 2024-08-03 12:17:40 -04:00
Donovan Glover
f73e302f2e
chore: Fix nixd / statix errors
I'm okay with editing hardware-configuration.nix now that I understand
how it works.
2024-08-03 01:52:47 -04:00
Donovan Glover
b397048a31
shell: Update package list
Dropped some extra cargo dependencies since I'd rather only use what's
available in cargo. Also added statix since it seems to catch some
things not found by nixd.
2024-08-03 01:38:30 -04:00
Donovan Glover
a9d6dee463
neovim(nix): Switch language server from nil to nixd
nixd seems to be much better than the last time I tried it.
2024-08-02 21:10:57 -04:00
Donovan Glover
ca52770815
neovim: Add chameleon.nvim for kitty support
Makes it possible to change color schemes in neovim and have the color
of padding from kitty change as well.
2024-08-02 21:07:46 -04:00
Donovan Glover
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
Donovan Glover
07ea9018f9
phone: Drop gnome-maps
Was a pain to use on the PinePhone and slower than just using maps
in a web browser.
2024-08-01 16:24:19 -04:00
Donovan Glover
3f10f44bb9
Revert "chore: Update to latest nixos-unstable release"
pass and qutebrowser depend on pykeepass and I'd rather not remove them
at this time. See: https://github.com/NixOS/nixpkgs/pull/331310
2024-08-01 13:45:44 -04:00
Donovan Glover
acca42a7cf
chore: Update to latest nixos-unstable release
Hopefully this doesn't break anything.

Removed old packages and overlays now upstreamed.
2024-08-01 13:34:54 -04:00
Donovan Glover
a00eb9fae0
mobile-nixos: Update firmware
Didn't seem to fix the firmware issues I was having, however.
2024-08-01 13:32:07 -04:00
Donovan Glover
e86918ac23
Revert "kitty: Use notify-send for long tasks"
Some TUIs actually use F1 and this causes them to break.
2024-07-30 15:41:20 -04:00
Donovan Glover
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
Donovan Glover
d938459ef7
meta: Drop ncmpcpp
Replaced in favor of rmpc, which has support for smaller screen sizes
and therefore works on the PinePhone.
2024-07-28 21:21:13 -04:00
Donovan Glover
e9d5b6cd03
packages: Drop mpc-cli
Not needed anymore now that we're using rmpc.
2024-07-28 21:18:27 -04:00
Donovan Glover
28c984c24b
phone: Add gnome maps config
Note that I actually prefer online maps since GNOME Maps is quite slow
on the PinePhone, making it a pain to use.
2024-07-28 14:44:55 -04:00
Donovan Glover
d56187532a
rmpc: Fix tests not working in release mode
This fixes an issue where previously the debug version was used since
the tests failed to compile in release mode.
2024-07-27 17:54:24 -04:00
Donovan Glover
e9d404bd00
packages: Add rmpc
rmpc is a new terminal-based music player for mpd that has image
support. Being written in Rust, it's a good choice as a modern
alternative to ncmpcpp. It even has built-in vim-like keybindings
by default.
2024-07-27 17:47:30 -04:00
Donovan Glover
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
Donovan Glover
493a5c631d
phone: Drop xdg user dirs
Will instead have everything in $HOME since it's not planned to have a
lot of files on the device anyway.
2024-07-25 16:50:55 -04:00
Donovan Glover
528809b307
xdg: Remove unused desktop icons
This also simplifies the process a bit.
2024-07-25 16:12:35 -04:00
Donovan Glover
307acd1777
flake: Update phosh to 0.40.0
Will switch back to the upstream branch when the new phosh version
gets merged into master.
2024-07-25 15:52:28 -04:00
Donovan Glover
6b7c52289c
Reapply "xdg: Hide desktop entries with home-manager"
This is actually useful to create a minimal phone configuration and we
can optimize this further.
2024-07-25 15:30:01 -04:00
Donovan Glover
646aeadbc0
hyprland: Theme Qt applications with stylix update
Kvantum is no longer necessary, which results in a more KDE-like
experience when it comes to the themed applications.
2024-07-24 16:40:02 -04:00
Donovan Glover
3c23411a04
chore: Update flake inputs
Not updating nixpkgs yet since it doesn't have v1.3.3 of the hyprland
portal yet and I'm not interested in spending hours cross-compiling the
phone right now.
2024-07-24 16:38:13 -04:00
Donovan Glover
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
Donovan Glover
288c132afa
hyprland: Drop tessen
Was a bit too buggy with the auto-typing, so I'd rather just copy
straight from the terminal instead.
2024-07-24 16:10:02 -04:00
Donovan Glover
1192d7a14b
phone: Remove unused packages
- mpv: No hardware acceleration makes it useless under phosh
- thunar: Viewport breaks when using non-English UI
- ncmpcpp: Phone screen is too small to show display
- papers: Gets cut off due to the 200% zoom and 1440x720 resolution
- geary: Not interested in storing emails on the phone
2024-07-24 15:22:50 -04:00