Commit Graph

3404 Commits

Author SHA1 Message Date
Donovan Glover
0286b818de
neovim: Drop pug / ecr
There really isn't a reason to use pug or ecr in 2024 when the
development experience with JSX/TSX is so great, and sticking to
what's popular makes it easier for other people to contribute.
2024-08-09 13:39:07 -04:00
Donovan Glover
92851019c8
neovim: Drop vue
I haven't used Vue in years and have much more expertise in vanilla
JavaScript/TypeScript with React and JSX/TSX, so there's really no
reason for me to keep it here.
2024-08-09 13:36:20 -04:00
Donovan Glover
45e7d727a0
chore: Run nix fmt 2024-08-09 13:29:15 -04:00
Donovan Glover
5101e93c39
specializations: Remove unnecessary options
Enabling xserver is handled by the desktop module.
2024-08-09 12:23:41 -04:00
Donovan Glover
da29bcbf4d
neovim: Remove unnecessary comments
The built-in help and https://neovim.io/doc/user/options.html can be
used instead if an option isn't known at read time.
2024-08-09 11:13:31 -04:00
Donovan Glover
19bb580cb0
neovim: Remove useless softtabstop option
0 is already the default.
2024-08-09 11:10:42 -04:00
Donovan Glover
a73678b2a8
git: Prune deleted branches by default
Avoids unnecessary overhead when dealing with lots of branches.
2024-08-08 22:46:52 -04:00
Donovan Glover
2d0abaa9b3
ci: Add check with nixf-tidy
This should work.
2024-08-08 22:44:02 -04:00
Donovan Glover
db29d97fe2
packages: Add wrapper script for nixf-tidy
Now it's possible to use this package in the ci.
2024-08-08 22:41:56 -04:00
Donovan Glover
6e5c2c606b
xdg: Only hide desktop icons on phone
It turns out that doing this breaks thunar and possibly some other
stuff, so we'll only hide them on the PinePhone with Phosh.
2024-08-08 22:03:39 -04:00
Donovan Glover
add2c126fe
dwm: Inline picom / dunst configs
This prevents us from having specialization-specific configs in the home
directory, which would be unrelated to the main hyprland environment and
would require explicitly disabling it.

Other nix-configs solve this problem with nested directory structures,
however I enjoy being able to access all files in the nix-config one
directory away.
2024-08-08 21:33:48 -04:00
Donovan Glover
452bad7db6
specializations: Add base dwm specialization
Sometimes you really need to use a stable and reliable Xorg desktop
system. GNOME crashes when switching workspaces with osu! open, and
Plasma seems like too much for just wanting to run osu! without
having to worry about all the Wayland shenanigans decreasing fps.

I used bspwm for years however development has slowed down recently.
I've always liked dwm from trying it previously, and it is comforting
knowing that your window manager is minimal and will always work the
same way.
2024-08-08 21:26:42 -04:00
Donovan Glover
f82b999542
neovim: Drop remaining crystal support
As much as I love reading the Crystal programming language, it's clear
that there are more opportunities to be had with prioritizing Rust
instead. The ecosystem for Rust is vastly superior with higher quality
libraries and an LSP that's actually feature-complete, and I'd rather
deal with the known problems I'm aware of with Rust than the problems
I'm aware of with Crystal.

Rust won. Joking aside, the ecosystem for Rust is vastly superior, even
if the language is more difficult.
2024-08-08 20:53:03 -04:00
Donovan Glover
87adeff650
neovim: Drop unused language servers
Prioritizing Nix / Rust / TypeScript.
2024-08-08 17:48:12 -04:00
Donovan Glover
7c5f535dff
flake: Update to hyprland v0.42.0 2024-08-07 17:12:29 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
da1ade1e6f
chore: Replace ncmpcpp with rmpc
Now with album art support.
2024-08-04 17:54:34 -04:00
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