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
Matt Sturgeon
94010d2118
stylix: add testbed enable option
...
When disabled, the testbed will not be used.
2025-05-20 21:11:40 +01:00
Matt Sturgeon
f891cf742f
stylix: refactor textbed.nix autoload
...
Use `lib.pipe` and `builtins.concatMap`
2025-05-20 21:11:39 +01:00
Matt Sturgeon
1f4de333d7
stylix: use concatMap in testbeds.nix
2025-05-20 21:11:39 +01:00
Matt Sturgeon
10e04b2491
stylix: use concatMapStringSep in testbed.nix
2025-05-20 21:11:39 +01:00
awwpotato
69b3dd05e6
stylix: bump release to 25.11 ( #1317 )
...
Closes: https://github.com/nix-community/stylix/issues/1315
Link: https://github.com/nix-community/stylix/pull/1317
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-20 19:27:39 +00:00
NAHO
c7feebc34a
qutebrowser: remove lib.mkDefault option declaration ( #1227 )
...
Link: https://github.com/nix-community/stylix/pull/1227
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-20 19:50:04 +02:00
awwpotato
43a652de77
alacritty: fix bright-yellow usage, adopt ( #1280 )
...
Link: https://github.com/nix-community/stylix/pull/1280
Reviewed-by: musjj <72612857+musjj@users.noreply.github.com>
2025-05-20 09:27:23 -07:00
awwpotato
fb9c22056f
doc: move to doc directory ( #1272 )
2025-05-20 10:26:52 +01:00
Daniel Thwaites
f8833c5e0c
treewide: update documentation links ( #1314 )
...
Link: https://github.com/nix-community/stylix/pull/1314
Co-authored-by: pancho horrillo <pancho@pancho.name>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-19 19:30:20 +02:00
wawwior
2e58606c9c
flake: update and unlock tinted-kitty input ( #1308 )
...
Update and unlock the tinted-kitty input because the issue from commit
f95022bb6e ("stylix: downgrade and lock tinted-kitty input (#589 )")
seems to have resolved itself.
Link: https://github.com/nix-community/stylix/pull/1308
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-19 18:53:21 +02:00
Flameopathic
54aa02e627
doc: danth/stylix → nix-community/stylix ( #1312 )
2025-05-19 12:46:59 +01:00
Gideon Wolfe
c8f09c164b
stylix: fix link to docs in README ( #1311 )
...
Link: https://github.com/nix-community/stylix/pull/1311
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-18 15:03:03 -07:00
Daniel Thwaites
2eaa338eb8
gnome: install User Themes extension ( #1306 )
2025-05-18 16:26:10 +02:00
Daniel Thwaites
8778cde5fe
doc: set site-url ( #1307 )
2025-05-18 16:16:09 +02:00
pancho horrillo
3993363c0c
doc: simplify 'Development Setup' section ( #1261 )
...
Link: https://github.com/nix-community/stylix/pull/1261
Co-authored-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-18 16:10:42 +02:00
Flameopathic
e2fe2df9b0
doc: restructure module rendering ( #1083 )
2025-05-18 14:09:50 +01:00
Daniel Thwaites
940de011bb
gnome: update CSS to version 48.1 ( #1295 )
...
Closes: https://github.com/danth/stylix/issues/1293
Link: https://github.com/danth/stylix/pull/1295
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-18 04:38:11 +00:00
awwpotato
5462829461
doc: update nix-darwin owner ( #1301 )
...
Link: https://github.com/nix-community/stylix/pull/1301
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-05-17 21:24:09 -07:00
Daniel Thwaites
5f6f08daad
treewide: change repository owner to nix-community ( #1297 )
2025-05-18 03:06:05 +01:00
Daniel Thwaites
7a0f30b57e
stylix: update documentation URL in palette.html ( #1298 )
2025-05-18 02:03:28 +00:00
pancho horrillo
91b23c7bc6
doc: explain how to build & check the docs locally ( #1273 )
2025-05-18 00:20:44 +01:00
lunabirkeland
3c172cbbc6
gnome-text-editor: update style path ( #1296 )
2025-05-17 22:18:47 +01:00
awwpotato
101d23dfac
ci: fix dependabot backport label ( #1288 )
...
Link: https://github.com/danth/stylix/pull/1288
2025-05-16 17:22:12 -07:00
dependabot[bot]
4d68f1f761
ci: bump DeterminateSystems/update-flake-lock from 24 to 25
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 24 to 25.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v24...v25 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-version: '25'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-16 17:07:20 -07:00
awwpotato
ecfa5c40b6
flake: include packages in checks ( #1285 )
...
Include the packages in the checks output to resolve the regression
introduced in commit 8b015b5fa0 ("flake: use flake-parts (#1208 )").
Fixes: 8b015b5fa0 ("flake: use flake-parts (#1208 )")
Link: https://github.com/danth/stylix/pull/1285
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-17 01:17:26 +02:00
Matt Sturgeon
88e1c23df2
flake: fix and refactor the homeManagerModules alias ( #1287 )
...
Fixes: 0e5b1613bd ("stylix: rename homeManagerModules to homeModules (#1267 )")
Link: https://github.com/danth/stylix/pull/1287
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-17 00:37:10 +02:00
awwpotato
31fff1c533
doc: use callPackage ( #1282 )
2025-05-16 13:48:09 -07:00
awwpotato
c72824147e
flake: use importApply for modules ( #1281 )
...
Link: https://github.com/danth/stylix/pull/1281
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-16 21:51:27 +02:00
awwpotato
8b015b5fa0
flake: use flake-parts ( #1208 )
...
Link: https://github.com/danth/stylix/pull/1208
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-16 11:52:15 -07:00
awwpotato
49b1eb9371
cava: refactor + fix rainbow.enable description ( #1276 )
...
Link: https://github.com/danth/stylix/pull/1276
2025-05-16 10:13:53 -07:00
awwpotato
0e5b1613bd
stylix: rename homeManagerModules to homeModules ( #1267 )
...
Link: https://github.com/danth/stylix/pull/1267
Link: https://github.com/nix-community/home-manager/pull/6406
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-16 16:39:50 +02:00
Shahar "Dawn" Or
7566bc0150
mako: don't use criteria option ( #1264 )
...
Deprecated by 0be2c246e3
Link: https://github.com/danth/stylix/pull/1264
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Mateus Auler <mateus@auler.dev>
2025-05-15 20:19:03 -07:00
NAHO
98b1d24a84
stylix: mkEnableTarget should not check stylix.enable ( #1255 )
...
Link: https://github.com/danth/stylix/pull/1255
Approved-by: Igor Rzegocki <ajgon@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-16 02:13:47 +02:00
Matt Sturgeon
69303679a4
kubecolor: check stylix.enable
...
All targets should check the global `enable` option, not just their own.
2025-05-15 03:46:36 +01:00
Matt Sturgeon
7051eb4db1
kitty: check stylix.enable
...
All targets should check the global `enable` option, not just their own.
2025-05-15 03:46:36 +01:00
Matt Sturgeon
d419d335c0
gtk: check stylix.enable
...
All targets should check the global `enable` option, not just their own.
2025-05-15 03:46:36 +01:00
Matt Sturgeon
94e68af4a4
doc: note modules must check stylix.enable
...
Added a note to the docs to clarify that a target module must always
check the global `stylix.enable`, in addition to its own `enable` option.
2025-05-15 03:46:35 +01:00
Daniel Thwaites
030af3e071
stylix: remove cfg.enable from mkEnableTarget default
...
The global `stylix.enable` option is not relevant to the per-target
`enable` option's default.
The individual modules should already be gated behind `stylix.enable`,
so there is no need for it to also affect the value of
`stylix.targets.«name».enable`.
This should not produce any change in behavior for correctly written
modules.
---
To give a concrete example:
```nix
{
stylix.enable = false;
stylix.autoEnable = true;
stylix.targets.foo.enable = true;
}
```
Here, the `stylix.enable` option is set to `false`, so no targets should
be enabled, regardless of their per-target `enable` option's value.
However if the `foo` target assumes it only needs to read its own
`enable` option, in this example it would define its config even though
Stylix is disabled globally.
2025-05-15 03:46:35 +01:00
awwpotato
b460904a6f
doc: use hash instead of sha256 in example ( #1270 )
...
Hash is preferred in nixpkgs, we should follow that here.
Link: https://github.com/danth/stylix/pull/1270
2025-05-14 19:43:53 -07:00
Flameopathic
71f8b1166b
nixcord: change theme location on nix-darwin ( #1221 )
...
Link: https://github.com/danth/stylix/pull/1221
Closes: https://github.com/danth/stylix/issues/1220
Related: https://github.com/danth/stylix/pull/784
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com>
2025-05-14 18:03:53 -07:00
awwpotato
cb42af5571
foliate: use upstream option ( #1260 )
...
Following a home-manager module being added for Foliate [1]
[1]: https://github.com/nix-community/home-manager/pull/7049
Link: https://github.com/danth/stylix/pull/1260
Reviewed-by: Gideon Wolfe <wolfeg2@wwu.edu>
2025-05-14 18:00:02 -07:00
awwpotato
2dcb18884f
stylix: gitignore .worktree ( #1268 )
2025-05-14 17:29:07 -07:00
awwpotato
98444a942a
stylix: sort flake inputs ( #1265 )
2025-05-14 19:40:43 +01:00
awwpotato
5d28886e94
halloy: use upstream themes option ( #1259 )
...
Link: https://github.com/danth/stylix/pull/1259
Reviewed-by: Oliver Jõgar <me@treier.xyz>
2025-05-14 09:29:23 -07:00
awwpotato
1466793570
stylix: use keep-sorted ( #1263 )
...
Use keep-sorted, following Nixpkgs [1]
("workflows/check-maintainers-sorted: drop and replace with keep-sorted
#404725 ").
[1]: https://github.com/NixOS/nixpkgs/pull/404725
Link: https://github.com/danth/stylix/pull/1263
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-13 23:02:49 +02:00
awwpotato
2fbe00aebe
doc: wrap to width of 80 ( #1262 )
...
Link: https://github.com/danth/stylix/pull/1262
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-13 22:55:08 +02:00
Kilian Mio
b63f664086
kde: add and update testbeds ( #1252 )
...
Adds testbed for plasma6.
In NixOS 25.11 plasma5 will be deprecated so plasma6 should become the default.
Related: https://github.com/danth/stylix/issues/1092
Link: https://github.com/danth/stylix/pull/1252
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-12 18:32:38 -07:00
awwpotato
f07a4d0b85
zellij: use upstream themes option
2025-05-12 14:16:49 -07:00