Commit Graph

3464 Commits

Author SHA1 Message Date
Donovan Glover
fe3f38acdd
phosh: Handle background dimming at the package level
Should improve performance since we no longer depend on a background
gradient in CSS.
2024-09-03 22:35:57 -04:00
Donovan Glover
dadee6bb08
dwm: Use avizo for media keys
Also adds support for the microphone mute key.
2024-09-03 21:11:07 -04:00
Donovan Glover
cf3ef3d59d
overlays: Add avizo overlay to fix icon size
Doesn't seem possible to patch binary diffs like this with fetchpatch.
2024-09-03 19:06:11 -04:00
Donovan Glover
956fbce486
meta: Switch from swayosd to avizo
Avizo seemingly has better support than swayosd in dwm, so this change
makes the OSD consistent across both environments.

Long-term it may be useful to figure out why swayosd would tile under
dwm and whether or not it'd be possible to fix upstream.
2024-09-03 18:44:49 -04:00
Donovan Glover
f26cbc1aec
meta: Move hyprlock / hypridle to separate modules
Makes it possible to use the hyprland module without using hypridle and
hyprlock.
2024-09-03 17:21:10 -04:00
Donovan Glover
85e5da19f2
kitty: Drop diff config
I never use kitty diff and it doesn't seem to work in Hyprland anyway
due to the following error:

> [0.215] [glfw error 65544]: process_desktop_settings:
> failed with error: [org.freedesktop.DBus.Error.UnknownMethod]
> No such interface “org.freedesktop.portal.Settings”
> on object at path /org/freedesktop/portal/desktop
2024-09-03 15:10:39 -04:00
Donovan Glover
b44c84b056
chore: Update mobile-nixos to latest commit 2024-09-03 14:59:23 -04:00
Donovan Glover
1dba52fcd0
chore: Update stylix to latest commit 2024-09-02 13:00:28 -04:00
Donovan Glover
1b71076ca1
system: Disable root for containers by default
Notably removes the ability for non-containers to easily have root
disabled, although this shouldn't be wanted in most cases.
2024-09-02 12:18:39 -04:00
Donovan Glover
4c301830d5
packages(stylix-background): Add missing meta attributes 2024-09-02 11:03:36 -04:00
Donovan Glover
29f8b0bd56
docs: Mention Mobile NixOS config 2024-09-02 10:26:24 -04:00
Donovan Glover
f163001035
phone: Update favorite applications list 2024-09-01 20:03:22 -04:00
Donovan Glover
86457e056f
overlays(rofi): Add comment for fetchpatch 2024-09-01 19:56:47 -04:00
Donovan Glover
9d15ab2f68
chore: Fix formatting 2024-09-01 19:44:17 -04:00
Donovan Glover
db0217a3e7
chore: Simplify example config imports 2024-09-01 19:35:17 -04:00
Donovan Glover
648bdf156a
librewolf: Add Japanese search engine 2024-09-01 19:30:42 -04:00
Donovan Glover
ac84cee715
librewolf: Add showdex extension 2024-09-01 18:59:47 -04:00
Donovan Glover
2db228e009
dunst: Don't use systemd service
Necessary while swaync is being used for notifications in Hyprland.
2024-09-01 18:37:20 -04:00
Donovan Glover
f113c763ea
treewide: Drop remaining usage of inherit (pkgs) 2024-09-01 18:29:27 -04:00
Donovan Glover
2a3a3db055
containers: Remove graphical option
It seems like everything works fine without this, so this wasn't
(or is no longer) necessary.
2024-09-01 16:33:41 -04:00
Donovan Glover
64c5b9d38d
meta: Move dwm config to home-manager module
This works since the NixOS module wasn't doing anything that we were
using anyway.
2024-09-01 16:14:21 -04:00
Donovan Glover
665991ef2b
dwm: Make print screen key work 2024-09-01 15:59:09 -04:00
Donovan Glover
d634e4b69c
shell: Add back nix-init
This was broken in a previous nixos-unstable release.
2024-09-01 15:20:20 -04:00
Donovan Glover
0b0deb55b7
tests: Remove desktop import
Fixes an issue where NixOS tests weren't exactly treated as
containers, presumably since they run inside QEMU.

The previous dependency on stylix is no longer necessary since
base16-nvim was upstreamed, although it may be ideal to split
it into its own module at a later date.
2024-09-01 15:12:51 -04:00
Donovan Glover
50f8c3eb00
meta: Replace desktop.container with config.boot.isContainer
No need to say that we're a container when NixOS already handles this.
2024-09-01 14:33:04 -04:00
Donovan Glover
c501f713a5
overlays(rofi): Prefer fetchpatch where possible 2024-09-01 14:20:51 -04:00
Donovan Glover
80794ea75d
phone: Don't save .dng files
Not needed since pictures taken with the camera are rare anyway and
I don't think using the .dng files would produce much better results.
2024-09-01 14:19:16 -04:00
Donovan Glover
939002e2f6
chore: Improve formatting 2024-09-01 14:12:17 -04:00
Donovan Glover
71b252d810
tests: Simplify machine imports 2024-09-01 13:43:36 -04:00
Donovan Glover
d188a89b6e
tests: Remove defaults.documentation.enable
Removed defaults.documentation.enable since it seems better to replicate
the environment as much as possible.

Also simplified specialArgs usage since we should never have to pass any
other args to the test machine.
2024-09-01 13:37:24 -04:00
Donovan Glover
d1a7f76d4f
tests: Remove useless parentheses
Tests seem to work fine without the `.config.result` part.
2024-09-01 13:34:53 -04:00
Donovan Glover
3bbb4befc2
tests: Remove useless import
Not needed when we have `self`.
2024-09-01 13:34:36 -04:00
Donovan Glover
64eb60a1ab
meta: Inline tests lib
The tests lib wasn't doing that much anyway and Nix flake checks are
just derivations that build successfully.
2024-09-01 12:52:23 -04:00
Donovan Glover
4f63c60124
fish: Start dwm on tty2
Makes it easier to run Hyprland and dwm simultaneously.
2024-08-31 12:17:58 -04:00
Donovan Glover
92d9ed77b0
librewolf: Configure settings at the profile level
Fixes an issue where New Tab Identity wasn't being loaded on first
launch of the profile due to settings not being profile-specific.

Long-term this also makes it possible to take advantage of the "Show
only modified preferences" feature, which showed our changes as the
defaults before.
2024-08-31 10:32:08 -04:00
Donovan Glover
f8806840d6
librewolf: Set network.dns.native_https_query to false
Fixes an issue where Firefox v129+ leaks DNS requests from the system.
Likely won't be fixed until v131 at the earliest.
2024-08-31 10:03:40 -04:00
Donovan Glover
de9f1486d7
dwm: Disable screen blanking 2024-08-31 09:59:47 -04:00
Donovan Glover
f52c98bab6
Revert "librewolf: Remove unnecessary ublock-origin package"
It turns out that DNS leaks were occurring from a new feature in Firefox
v129+ that uses the system's DNS in favor of the browser's DNS.

See: https://bugzilla.mozilla.org/show_bug.cgi?id=1910593
2024-08-31 07:31:45 -04:00
Donovan Glover
70c8d3f27a
librewolf: Remove unnecessary ublock-origin package
Not needed and seems to actually break things since it's included by
default in LibreWolf.
2024-08-31 00:18:11 -04:00
Donovan Glover
c2bc18d696
packages(ublock-origin): Document attempt at changing settings
This seemed to work to an extent but resulted in some weirdness with the
uBlock Origin from LibreWolf and the uBlock Origin from this package.

The actual setting didn't change even though it was disabled in the
interface. Re-enabling the checkbox and toggling it didn't change
anything either.
2024-08-30 23:58:50 -04:00
Donovan Glover
42ea4eef27
phone: Drop gnome-calendar
Unfortunately the calendar app on the PinePhone is way too slow to be
usable and wasn't adaptive to the screen size anyway.
2024-08-30 20:43:14 -04:00
Donovan Glover
4ec9294c04
packages: Add new-tab-identity
This seems to work, which is great.

For some reason it wasn't being initialized properly inside the virtual
machine but it does work on actual devices.
2024-08-30 20:26:33 -04:00
Donovan Glover
44fecbf9e4
chore: Clean up extension packages 2024-08-30 16:42:22 -04:00
Donovan Glover
0b44a17ca9
chore: Replace callPackage with flake package
Removes the possibility of ../paths breaking.
2024-08-30 15:19:15 -04:00
Donovan Glover
3c89c82ced
librewolf: Add redlib extension 2024-08-30 13:35:50 -04:00
Donovan Glover
809eab3f37
chore: Update stylix to fix fish styling
Now colors will be set appropriately inside virtual machines again.
2024-08-30 13:35:18 -04:00
Donovan Glover
b4adc570d0
meta: Replace firefox-addons with packages in flake
This simplifies things a bit since we're no longer relying on another
input and can add extensions not in the firefox-addons repository.
2024-08-30 13:34:00 -04:00
Donovan Glover
d261262277
meta: Inline dwm config
Trying to override the values with callPackage here seemingly
didn't work, so inlining is necessary to use the color values from
`config`.
2024-08-29 20:12:23 -04:00
Donovan Glover
86a0b442ce
packages(aleo-fonts): Fix version 2024-08-29 19:11:14 -04:00
Donovan Glover
08b38bf11c
phone: Include weekday and time in video filenames 2024-08-29 19:09:32 -04:00