Commit Graph

3456 Commits

Author SHA1 Message Date
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
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