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
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