···7272{ den, ... }: {
7373 den.aspects.my-laptop = {
7474 includes = [
7575- den.aspects.vpn # { host } => config
7676- den._.home-manager # battery
7575+ den.aspects.workplace-vpn
7676+ den.provides.home-manager
7777 ];
7878 nixos = { /* NixOS options */ };
7979 darwin = { /* nix-darwin options */ };
···294294295295</details>
296296297297+<details>
298298+<summary>
299299+297300### Contributing
298301299299-Contributions are welcome! Feel free to fix typos, improve documentation, or share ideas in our [discussions](https://github.com/vic/den/discussions).
302302+> Contributions are welcome! Feel free to fix typos, improve documentation, or share ideas in our [discussions](https://github.com/vic/den/discussions).
303303+304304+</summary>
300305301306All PRs are checked against the CI. New features should include a test in `_example/ci.nix`.
302307···304309305310```console
306311nix flake check ./checkmate --override-input target .
307307-cd templates/default && nix flake check --override-input den ../..
312312+nix flake check ./templates/default --override-input den .
313313+```
314314+315315+Ensure code is formatted:
316316+317317+```console
318318+nix run ./checkmate#fmt --override-input target .
319319+```
320320+321321+If you have found a bug, please open a discussion (issues are for agreed, actionable items).
322322+323323+We provide a [`bogus`](templates/bogus/) template you can use
324324+to create a minimal bug reproduction repository. Please share your repo.
325325+326326+```console
327327+mkdir bogus && cd bogus
328328+nix flake init -t github:vic/den#bogus
329329+nix flake update den
330330+nix flake check
308331```
332332+333333+</details>
···11+# Bug Reproduction den
22+33+Use this small template to reproduce bugs in den.
44+55+Create a **minimal** bug reproduction at [`modules/bug.nix`](modules/bug.nix)
66+77+Then run tests:
88+99+```console
1010+nix flake check
1111+```
1212+1313+Format code with:
1414+1515+```console
1616+nix fmt
1717+```
···11+# DO-NOT-CHANGE. Keep your reproduction minimalistic!
22+#
33+# try not adding new inputs
44+# but if you have no options (pun intended)
55+# here's the place.
66+#
77+# IF you make any change to this file, use:
88+# `nix run .#write-flake`
99+#
1010+# We provide nix-unit and home-manager for common
1111+# usage.
1212+{ inputs, ... }:
1313+{
1414+ # change "main" with a commit where bug is present
1515+ flake-file.inputs.den.url = "github:vic/den/main";
1616+1717+ flake-file.inputs.nix-unit = {
1818+ url = "github:nix-community/nix-unit";
1919+ inputs.nixpkgs.follows = "nixpkgs";
2020+ inputs.flake-parts.follows = "flake-parts";
2121+ inputs.treefmt-nix.follows = "treefmt-nix";
2222+ };
2323+2424+ flake-file.inputs.home-manager = {
2525+ url = "github:nix-community/home-manager";
2626+ inputs.nixpkgs.follows = "nixpkgs";
2727+ };
2828+2929+ imports = [
3030+ inputs.nix-unit.modules.flake.default
3131+ ];
3232+3333+}