Commit Graph

3210 Commits

Author SHA1 Message Date
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
Donovan Glover
0652ba94ca
phone: Lower cpu frequency to 0.912 GHz
Previously the phone would often lock up when performing simple
operations like copying files during a remote nixos-rebuild.
2024-07-23 19:19:13 -04:00
Donovan Glover
2eca315010
rofi: Make launcher possible to exit with middle click
Now opening an application is no longer necessary if you only have
access to a mouse.
2024-07-23 17:49:42 -04:00
Donovan Glover
f5e0a08a30
overlays: Patch rofi to fix touchpad scrolling
Upstream issue: https://github.com/lbonn/rofi/issues/134
2024-07-23 16:02:22 -04:00
Donovan Glover
a04be3defd
hardware: Suspend on power key press 2024-07-23 15:37:24 -04:00
Donovan Glover
7debc58d55
overlays: Update xdg-desktop-portal-hyprland to 1.3.3
See https://github.com/hyprwm/xdg-desktop-portal-hyprland/releases/tag/v1.3.3
2024-07-23 00:38:04 -04:00
Donovan Glover
f32213f896
mpd: Fix audio output being incorrectly detected as alsa
This fixes an issue where previously one would have to pause and play
audio tracks in order for them to play properly.

Upstream issue: https://github.com/MusicPlayerDaemon/MPD/issues/1649
2024-07-22 20:54:58 -04:00
Donovan Glover
a364b76da2
Revert "ironbar: Add attempt at using volume module"
The volume module currently has a bug that causes audio output to stop
working when plugging in new devices.

Upstream issue: https://github.com/JakeStanger/ironbar/issues/673
2024-07-22 13:55:12 -04:00
Donovan Glover
eec082cb01
meta: Include libnotify at the hyprland level
Not really needed inside the swaync module.
2024-07-22 13:06:31 -04:00
Donovan Glover
e4d273cb6c
phone: Update package list
The "caerbannog" GTK-based pass program crashes and Phosh mobile
settings is no longer needed due to configuring dconf settings with nix.
2024-07-22 02:22:27 -04:00
Donovan Glover
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
Donovan Glover
f657b49051
chore: Update flake inputs 2024-07-22 01:02:18 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
f3037ae4b8
hyprland: Shorten window rules 2024-07-20 11:38:22 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
1b3637651a
phone(dconf): Add night light quick setting 2024-07-19 18:27:00 -04:00
Donovan Glover
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
Donovan Glover
6a345009f6
chore: Fix formatting 2024-07-19 11:04:11 -04:00
Donovan Glover
723ca1d36b
chore: Update to latest nixos-unstable release 2024-07-19 10:46:07 -04:00
Donovan Glover
c27a257adc
eww: Increase opacity of time overlay 2024-07-18 21:54:54 -04:00