Commit graph

913 commits

Author SHA1 Message Date
NAHO
d66135deb3
flake: add ruff formatter (#1389)
Link: https://github.com/nix-community/stylix/pull/1389

Reviewed-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-05-26 18:06:05 +02:00
wawwior
aa70426f8f
console: improve color consistency (#1388)
Link: https://github.com/nix-community/stylix/pull/1388

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-26 16:29:34 +02:00
Flameopathic
225b2ddbba
doc: explain testbed options (#1383)
Link: https://github.com/nix-community/stylix/pull/1383

Reviewed-by: Mateus Auler <mateus@auler.dev>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-26 14:54:39 +02:00
Matt Sturgeon
e22f96de3f
doc: update documentation to reflect #1083 (#1329)
Link: https://github.com/nix-community/stylix/pull/1329

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-05-25 15:55:24 -07:00
awwpotato
34b5930894
doc: recommend 25.05 as stable version (#1320) 2025-05-23 12:29:21 -07:00
awwpotato
6b2bc89659
stylix: allow for overlays to access options (#1372)
Link: https://github.com/nix-community/stylix/pull/1372

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-23 19:03:37 +00:00
NAHO
e4fde51c6e
tofi: add missing lib module argument (#1370)
Fixes: 7ffb31da69 ("treewide: use mkTarget (batch 2) (#1362)")
Link: https://github.com/nix-community/stylix/pull/1370

Reviewed-by: awwpotato <awwpotato@voidq.com>
Tested-by: repparw <45952970+repparw@users.noreply.github.com>
2025-05-23 20:49:31 +02:00
awwpotato
7ffb31da69
treewide: use mkTarget (batch 2) (#1362)
Link: https://github.com/nix-community/stylix/pull/1362

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-23 19:23:39 +02:00
Karun Sandhu
8dd18dd395 hyprlock: fix setting background 2025-05-23 08:15:07 -07:00
Karun Sandhu
86cfc446a5 hyprlock: add MrSom3body as maintainer 2025-05-23 08:15:07 -07:00
Karun Sandhu
f99fe598a6
foot: fix font size (#1360)
Link: https://github.com/nix-community/stylix/pull/1360

Reviewed-by: pancho horrillo <pancho@pancho.name>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-22 15:16:38 -07:00
awwpotato
3e447578ef
doc: give consistant input version and follows instructions (#1271)
Link: https://github.com/nix-community/stylix/pull/1271

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-22 21:03:45 +02:00
awwpotato
e16d94d868
ci: prefix labels with type (#1256)
Link: https://github.com/nix-community/stylix/discussions/1109#discussioncomment-13110835
Link: https://github.com/nix-community/stylix/pull/1256

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-22 20:28:25 +02:00
NAHO
af4f2b5646
treewide: use mkTarget (batch 1) (#1342)
Link: https://github.com/nix-community/stylix/pull/1342

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-22 20:11:59 +02:00
awwpotato
f9a6a599d7
hyprland: fix hyprpaper enable condition (#1355)
Link: https://github.com/nix-community/stylix/pull/1355

Fixes: 7c66e (treewide: partially apply mkTarget)

Reviewed-by: Flameopathic <flameopathic@gmail.com>
2025-05-22 08:54:31 -07:00
Daniel Thwaites
c1ef1efd8f
qutebrowser: simplify dark mode setting (#1352) 2025-05-22 07:51:01 -07:00
awwpotato
6f67462b01
forge: use mkTarget 2025-05-22 07:44:20 -07:00
awwpotato
59c782eb99
console: use mkTarget 2025-05-22 07:44:20 -07:00
awwpotato
7b2e482da7
cava: use mkTarget 2025-05-22 07:44:20 -07:00
awwpotato
3d5c02f843
bat: use mkTarget 2025-05-22 07:44:20 -07:00
awwpotato
f4a4b2690c
avizo: use mkTarget 2025-05-22 07:44:19 -07:00
awwpotato
e0e61f8c97
cavalier: use mkTarget 2025-05-22 07:44:19 -07:00
awwpotato
68518231f3
zed: use mkTarget 2025-05-22 07:44:19 -07:00
awwpotato
019d9f11b3
zellij: use mkTarget 2025-05-22 07:44:19 -07:00
awwpotato
fea4b0ea58
xresources: use mkTarget 2025-05-22 07:44:19 -07:00
awwpotato
33c517c8ec
xfce: use mkTarget 2025-05-22 07:44:19 -07:00
awwpotato
e31bca3ee1
bspwm: use mkTarget 2025-05-22 07:44:19 -07:00
awwpotato
230705d5fb
gnome: don't apply hm on darwin (#1316) 2025-05-22 10:03:27 +01:00
awwpotato
043a43a0f9
ci: used maintained conflicts action (#1348) 2025-05-22 09:53:32 +01:00
awwpotato
02f3d00467
foliate: use mkTarget 2025-05-21 17:06:48 -07:00
awwpotato
18211a9f41
fish: use mkTarget 2025-05-21 17:06:48 -07:00
awwpotato
af11435723
lazygit: use mkTarget 2025-05-21 17:06:48 -07:00
awwpotato
89edd2f3c0
foot: use mkTarget 2025-05-21 17:06:48 -07:00
awwpotato
910dc0dc3e
btop: use mkTarget 2025-05-21 17:06:48 -07:00
awwpotato
81cb57a350
hyprlock: use mkTraget 2025-05-21 17:06:48 -07:00
awwpotato
26efa4fca0
helix: use mkTarget 2025-05-21 17:06:48 -07:00
awwpotato
614c12c5db
ci: fix tag for label merge conflicts (#1344)
Link: https://github.com/nix-community/stylix/pull/1344

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-21 15:05:03 -07:00
awwpotato
46caa4122c
ci: add workflow to label merge conflicts (#1269)
Add a workflow to label merge conflicts, making it more obvious when PRs
have a merge conflicts. This is also used by Home Manager and Nixpkgs.

Link: https://github.com/nix-community/stylix/pull/1269

Co-authored-by: pancho horrillo <pancho@pancho.name>
Reviewed-by: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-21 23:43:50 +02:00
awwpotato
24d1438df4
halloy: use mkTarget 2025-05-21 13:58:49 -07:00
awwpotato
cde06bed94
gitui: use mkTarget 2025-05-21 13:58:49 -07:00
awwpotato
085767cc84
gedit: use mkTarget 2025-05-21 13:58:49 -07:00
awwpotato
e73f4c0832
chromium: use mkTarget 2025-05-21 13:58:49 -07:00
awwpotato
c32026eab2
mpv: use mkTarget (#1334)
Link: https://github.com/nix-community/stylix/pull/1334

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-21 20:57:36 +02:00
awwpotato
4ce349da56
alacritty: fix mkTarget usage (#1332)
Link: https://github.com/nix-community/stylix/pull/1332

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-05-21 10:14:34 -07:00
NAHO
d3fadda72a
treewide: add and partially apply mkTarget function (#1130)
Add and partially apply the mkTarget function to all appropriate
modules, providing a consistent target interface to minimize boilerplate
and automatically safeguard declarations related to disabled options.

The mkTarget function was first discussed in [1] ("extensive mkTarget
function").

[1]: https://github.com/danth/stylix/discussions/1009

Link: https://github.com/danth/stylix/pull/1130

Co-authored-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-05-21 16:21:43 +02:00
Flameopathic
7c66eda89e treewide: partially apply mkTarget
Uses the mkTarget function for Alacritty and Hyprland Home Manager targets
2025-05-21 09:43:42 -04:00
Flameopathic
c4fa684471 stylix: add mkTarget function
Add the mkTarget function, providing a consistent target interface to minimize boilerplate
and automatically safeguard declarations related to disabled options.

The mkTarget function was first discussed in [1] ("extensive mkTarget
function").

[1]: https://github.com/danth/stylix/discussions/1009
2025-05-21 09:39:49 -04:00
NAHO
42b1521816
stylix: improve how discord testbed is disabled (#1326)
Link: https://github.com/nix-community/stylix/pull/1326

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-21 11:09:50 +02:00
Matt Sturgeon
2b176d49de
discord: use new enable option for testbed 2025-05-21 11:07:01 +02:00
Matt Sturgeon
a2236aa290
stylix: use a cheaper module eval for the enable option
The `stylix.testbed.enable` option is needed to determine which testbeds
to include in flake outputs. However evaluating a NixOS system is
expensive, and significantly impacts the performance of `nix flake show`.

We work around this issue by adding minimal configuration, which
evaluates the testbed module on its own, without any nixos modules.

This has plenty of downsides, but we're unlikely to run into any of them
here.

Potential future issues:

1. A testbed module requiring a non-standard module arg.
   This could be solved by adding stubs to `_module.args`.

2. The enable option depending on an overlayed `pkgs` instance.
   This could be solved by implementing the `nixpkgs.overlays` option.

3. The enable option depending on another Stylix or NixOS option.
   This cannot be supported without massive performance hits.
2025-05-21 11:06:51 +02:00