Commit Graph

3389 Commits

Author SHA1 Message Date
2297fb41e3 treewide: Drop usage of inherit (pkgs)
Having to change the package list in two places was a bit redundant. We
can also use `with` patterns now since nixd warns if there are escaping
variables being used.

Note that variables used in multiple places are kept to make it easier
to recognize that those variables must be changed together. Also note
that inherit (pkgs) inside of mkMerge are currently kept to reduce the
diff.
2024-08-07 16:40:58 -04:00
b3f5c61625 xdg: Prefer hidden over noDisplay for desktop entries
Prevents the desktop entry from showing in applications like Thunar.
Long-term this isn't a viable solution since it prevents the hidden
applications from being used by Thunar.
2024-08-07 14:50:34 -04:00
da1ade1e6f chore: Replace ncmpcpp with rmpc
Now with album art support.
2024-08-04 17:54:34 -04:00
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
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
def180fb2d chore: Update to latest nixos-unstable release 2024-08-04 11:14:18 -04:00
c31d8591a9 chore: Update flake inputs 2024-08-03 22:41:11 -04:00
99e262d404 chore: Remove old rmpc patch 2024-08-03 21:25:31 -04:00
502580b3e9 packages: Drop pinephone-toolkit
Edit /sys/class/leds/**/brightness directly instead.
2024-08-03 21:12:32 -04:00
1e0c1453ef Revert "ci: Add nixd / nixf-tidy"
nixf-tidy only works for pull requests.
2024-08-03 20:08:09 -04:00
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
817629fb0a chore: Update to latest nixos-unstable release 2024-08-03 19:44:23 -04:00
1c668bde68 chore: Format with nix fmt
nixfmt-rfc-style collapses lists like these.
2024-08-03 15:27:04 -04:00
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
8ece3e2812 treewide: Format remaining files with nixfmt-rfc-style 2024-08-03 14:49:00 -04:00
a32f73a388 modules: Format with nixfmt-rfc-style 2024-08-03 14:40:07 -04:00
1d0296c209 overlays: Format with nixfmt-rfc-style 2024-08-03 14:32:56 -04:00
4cbceec89c containers: Format with nixfmt-rfc-style 2024-08-03 14:32:15 -04:00
18c0cb3933 example: Format with nixfmt-rfc-style 2024-08-03 14:31:14 -04:00
14f65a9633 home: Format with nixfmt-rfc-style 2024-08-03 14:22:47 -04:00
4f8625c1bf packages: Format with nixfmt-rfc-style 2024-08-03 13:54:56 -04:00
d963032159 treewide(stylix): Use withHashtag where possible 2024-08-03 13:28:03 -04:00
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
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
95f52d6e39 ci: Add nixd / nixf-tidy
Not tested.
2024-08-03 12:31:32 -04:00
1f1600a212 ci: Add statix check
Not tested.
2024-08-03 12:30:04 -04:00
55fbafa129 meta: Move base16-nvim config into stylix 2024-08-03 12:17:40 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
e9d5b6cd03 packages: Drop mpc-cli
Not needed anymore now that we're using rmpc.
2024-07-28 21:18:27 -04:00
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
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
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
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
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
528809b307 xdg: Remove unused desktop icons
This also simplifies the process a bit.
2024-07-25 16:12:35 -04:00
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
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
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
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