Commit graph

44 commits

Author SHA1 Message Date
awwpotato
b4e1daad3b
ci: request subsystem maintainers review (#1053)
Link: https://github.com/nix-community/stylix/pull/1053

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-30 16:12:40 +02:00
NAHO
744431e176
flake: leverage lib.flip (#1754)
Link: https://github.com/nix-community/stylix/pull/1754

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-25 17:48:50 -07:00
Karun Sandhu
c32c82e460
zen-browser: init (#1694)
Link: https://github.com/nix-community/stylix/pull/1694
Closes: https://github.com/nix-community/stylix/issues/1685

Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: awwpotato <awwpotato@voidq.com>
2025-07-20 16:47:35 -07:00
awwpotato
f826d3214b
stylix: add generated all-maintainers file (#1654)
Link: https://github.com/nix-community/stylix/pull/1654

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-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>
2025-07-19 15:50:17 -07:00
awwpotato
4add678fe3
stylix: do not check lambda pattern names with deadnix (#1689)
Link: https://github.com/nix-community/stylix/pull/1689
Reverts: c117edd7ee ("stylix: allow underscore in mkTarget configElements args (#1473)")

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-15 18:26:38 +02:00
Flameopathic
7f7472cc90
spicetify: add testbed (#1625)
Link: https://github.com/nix-community/stylix/pull/1625

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-14 22:41:24 +02:00
sntx
d683e35fa5
stylix: use lib.warn instead of builtins.warn (#1676)
Link: https://github.com/nix-community/stylix/pull/1676
Closes: https://github.com/nix-community/stylix/issues/1669

Co-authored-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-07-14 01:25:17 +02:00
NAHO
a950a3f529
wayfire: remove optional toString (#1658)
Link: https://github.com/nix-community/stylix/pull/1658

Reviewed-by: 1444 <54070204+0x5a4@users.noreply.github.com>
Tested-by: 1444 <54070204+0x5a4@users.noreply.github.com>
2025-07-13 17:04:40 +02:00
NAHO
0da583a359
flake: update nvf dev input (#1673)
Link: https://github.com/nix-community/stylix/pull/1673

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-11 09:08:37 -07:00
Flameopathic
84e7ea0aa4
{nixvim,nvf}: add testbeds (#1579)
Link: https://github.com/nix-community/stylix/pull/1579

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: awwpotato <awwpotato@voidq.com>
2025-07-10 11:02:34 -07:00
NAHO
7b9a528d6c
treewide: replace builtins.toString with toString (#1657)
Link: https://github.com/nix-community/stylix/pull/1657

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-09 08:01:21 -07:00
awwpotato
d9338c105c
flake: remove unused lib argument (#1624)
Link: https://github.com/nix-community/stylix/pull/1624

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-08 23:46:37 +02:00
stylix-automation[bot]
4cb10b3446
stylix: update all flake inputs (#1563)
Link: https://github.com/nix-community/stylix/pull/1563

Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-08 21:27:03 +00:00
NAHO
1baa44cf8c
flake: infer default.nix import path (#1636)
Re-apply commit 0f93e58628 ("flake: infer default.nix import path
(#1544)") that was accidentally reverted in commit a5c1532ab8 ("flake:
partition dev inputs (#1289)").

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-08 22:56:08 +02:00
awwpotato
8f3259dbc5
flake/dev: use treefmt flake parts module (#1551)
Link: https://github.com/nix-community/stylix/pull/1551

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-08 10:32:19 -07:00
awwpotato
a5c1532ab8
flake: partition dev inputs (#1289)
Link: https://github.com/nix-community/stylix/pull/1289

Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-06 23:56:44 +02:00
awwpotato
85d84607b2
flake: sort pre-commit hooks and formatters (#1586) 2025-07-04 14:55:46 +01:00
NAHO
0f93e58628
flake: infer default.nix import path (#1544)
Fixes: c765b15fc3 ("stylix: move testbed to a dedicated directory")

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-06-25 18:49:46 -07:00
Matt Sturgeon
07af242a44 doc: replace inputs input with self
The docs no longer needs access to arbitrary flake inputs. We should
enforce this strictly by taking `self` instead.
2025-06-21 20:25:14 -07:00
Matt Sturgeon
bdf092d169 doc: use minimal module evals
We don't actually need fully blown NixOS or home-manager configurations
just to read the declared `options`.

Instead, we can directly call `lib.evalModules` to build a minimal
configuration containing only stylix modules.
2025-06-21 20:25:14 -07:00
pancho horrillo
8c1421ae02
stylix: honour recent docs to doc renames (#1493)
Link: https://github.com/nix-community/stylix/pull/1493

Co-authored-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-19 23:38:08 +02:00
Flameopathic
5d1ed786ff deadnix: ignore bindings starting with _ 2025-06-11 20:12:27 -04:00
Matt Sturgeon
3945a2d349
flake: include 'until' in rename warning 2025-06-04 16:11:11 +01:00
Matt Sturgeon
47553c06fb
flake: rename packages.«system».docspackages.«system».doc
Use the new `perSystem.stylix.aliases` option to rename
`packages.«system».docs` and `apps.«system».docs` to `doc`.

The alias will be defined until 25.11 and will always warn when
evaluated.
2025-06-04 16:10:53 +01:00
Matt Sturgeon
88c63899c7
flake: introduce a perSystem.stylix.aliases option 2025-06-04 16:10:52 +01:00
Matt Sturgeon
5c5d9fbc3b
flake: move deprecation module to its own directory 2025-06-04 15:31:10 +01:00
Matt Sturgeon
82d9424fff
doc: init server; nix run .#docs (#1328)
Adds:

- `serve-docs` to the default devShell
- `packages.serve-docs`
- `apps.docs`

Having `apps.docs` defined causes `nix run .#docs` to run the "app"
instead of `packages.docs`. `nix build .#docs` will still build the
"package", not the "app".

The `serve-docs` script added to the devShell runs `nix run .#docs`
instead of having `packages.serve-docs` in its closure. This avoids the
devShell actually building the docs.

Added a note to `doc/src/modules.md`.

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-03 19:01:51 +02:00
Matt Sturgeon
23e3013b62
stylix: drop unnecessary use of self in droid 2025-05-28 19:32:15 +01:00
Matt Sturgeon
9cb8a57eac
stylix: drop unnecessary use of self in darwin 2025-05-28 19:32:15 +01:00
Matt Sturgeon
5fa31498d2
stylix: drop unnecessary use of self in home-manager 2025-05-28 19:32:15 +01:00
Matt Sturgeon
950483a5d0
stylix: drop unnecessary use of self in nixos 2025-05-28 19:30:31 +01:00
Matt Sturgeon
b1a152c639
flake: drop unnecessary use of self 2025-05-28 19:10:38 +01:00
NAHO
2579395763
stylix: refactor testbed impl in prep for flake partition (#1395)
Link: https://github.com/nix-community/stylix/pull/1395

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-28 18:39:16 +02:00
Matt Sturgeon
ba217a8128
flake: use biome formatter for JSON and CSS (#1394)
Link: https://github.com/nix-community/stylix/pull/1394

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-28 17:55:09 +02:00
Matt Sturgeon
c765b15fc3
stylix: move testbed to a dedicated directory 2025-05-28 00:30:20 +01:00
Matt Sturgeon
9746893051 flake: add 'biome' to treefmt for javascript
https://biomejs.dev/formatter/differences-with-prettier

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-27 11:05:00 -07:00
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
Matt Sturgeon
2b176d49de
discord: use new enable option for testbed 2025-05-21 11:07:01 +02:00
awwpotato
fb9c22056f
doc: move to doc directory (#1272) 2025-05-20 10:26:52 +01: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