11.stylix/flake
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
..
default.nix flake: use biome formatter for JSON and CSS (#1394) 2025-05-28 17:55:09 +02:00
deprecated.nix flake: fix and refactor the homeManagerModules alias (#1287) 2025-05-17 00:37:10 +02:00
dev-shell.nix doc: init server; nix run .#docs (#1328) 2025-06-03 19:01:51 +02:00
modules.nix stylix: drop unnecessary use of self in droid 2025-05-28 19:32:15 +01:00
packages.nix doc: init server; nix run .#docs (#1328) 2025-06-03 19:01:51 +02:00
pre-commit.nix flake: use flake-parts (#1208) 2025-05-16 11:52:15 -07:00