Commit Graph

3541 Commits

Author SHA1 Message Date
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
Donovan Glover
4e417707d9
packages(xland): Fix dwm config not applying 2024-08-29 01:44:38 -04:00
Donovan Glover
b3c8f55c69
meta: Merge dwm specialization with desktop
Long-term this could be an optional separate module but for now having
dwm as a backup to Hyprland is reassuring.
2024-08-29 01:40:10 -04:00
Donovan Glover
6116425dea
meta: Move stylix-background to separate package
Long-term this won't be necessary once backgrounds become optional in
stylix.
2024-08-29 01:24:01 -04:00
Donovan Glover
d48d286a40
meta: Move xland to separate package
Makes it easier to build the dwm config without having to rebuild the
entire system.
2024-08-29 01:02:42 -04:00
Donovan Glover
638794529a
dwm: Add missing NULLs to commands
This did seem to work fine without the NULLs, however.
2024-08-28 20:16:33 -04:00
Donovan Glover
aaef3ecf8b
Revert "meta: Document usage of dwm on phone"
This was cool but there were a few issues such as me not being able to
find the infamous "dock patch" despite grepping for dock on
https://dwm.suckless.org/patches/, which resulted in the keyboard hiding
tiled windows and being below floating windows.

There was also an issue where starting corekeyboard from dwm would
result in styling not being applied compared to starting it from the
terminal.

A third issue was that from a quick attempt I couldn't get callaudiod to
start inside dwm, which was required for gnome-calls.

Overall it looks like I will be using Phosh until further notice on the
PinePhone, as I've already gotten it to work well enough for my use case.
2024-08-28 20:12:40 -04:00
Donovan Glover
b00b2dd8d4
meta: Document usage of dwm on phone
This worked and was *significantly* faster than Phosh but resulted in a
lot of phone things broken like phone calls and the camera. Overall
quite cool to run dwm on the PinePhone but not really practical when
trying to use the PinePhone as a phone.
2024-08-28 19:52:17 -04:00
Donovan Glover
8d2a1685ec
picom: Don't use systemd service
No need to start picom in Hyprland.
2024-08-27 20:11:24 -04:00
Donovan Glover
1901a33e87
desktop: Remove useless home-manager import
This didn't actually do anything since we don't make use of the
home-manager import inside the module.
2024-08-27 17:39:11 -04:00
Donovan Glover
6036d49620
meta: Move home-manager dwm config to separate module
Note that it's possible to use an autostart patch like
https://dwm.suckless.org/patches/cool_autostart/ so startx isn't
needed although this results in dwm starting before things like
the status bar get set.
2024-08-27 17:20:49 -04:00
Donovan Glover
99fd8bf3f3
meta: Move dunst config out of dwm
Long-term I'll have to decide if it's worth it to use two separate
notification daemons for X and Wayland.
2024-08-27 16:33:05 -04:00
Donovan Glover
d10c5565fb
meta: Move picom config out of dwm
This is part of simplifying the config to make `home` the single source
of truth for home-manager modules.
2024-08-27 15:18:18 -04:00
Donovan Glover
214e814691
phone: Allow olm for now
Used by chatty for Matrix support, however I don't use Chatty for
this feature.

See: https://gitlab.gnome.org/World/Chatty/-/issues/932
2024-08-27 14:14:12 -04:00
Donovan Glover
f698b3aefe
phone: Use gnome-contacts from top-level 2024-08-27 14:06:34 -04:00
Donovan Glover
a90dfb5a6f
desktop: Only include sakaya if x86_64-linux 2024-08-27 14:05:34 -04:00
Donovan Glover
d2d5afd9b5
chore: Update to latest nixos-unstable release 2024-08-27 13:24:35 -04:00
Donovan Glover
7674c8e90e
chore: Use singleton where possible 2024-08-27 13:22:46 -04:00
Donovan Glover
83a82ab655
chore: Expand single item lists and attribute sets
These aren't collapsed by nix fmt anymore.
2024-08-27 13:05:29 -04:00
Donovan Glover
ed9a253fdf
docs: Drop mention of specializations
Currently specializations double the evaluation time from ~1 minute
to 2 minutes, and they're actually restrictive since it's possible to
run Hyprland and dwm on separate ttys at the same time.
2024-08-27 00:05:34 -04:00
Donovan Glover
be5f0a6183
chore: Run nix fmt 2024-08-26 21:32:55 -04:00
Donovan Glover
09b241b088
chore: Update to latest mobile-nixos commit 2024-08-26 20:26:20 -04:00
Donovan Glover
39d73d1ed1
dwm: Add greetd settings
Long-term it may be ideal to simply start dwm on tty2.
2024-08-26 14:08:20 -04:00
Donovan Glover
104b62c6d4
dwm: Add scrot 2024-08-26 14:07:19 -04:00