Commit graph

22 commits

Author SHA1 Message Date
awwpotato
31fdf60634
stylix: disallow nixpkgs aliases in testbeds (#1124) 2025-04-09 12:08:31 +01:00
Flameopathic
603fe2dc79
treewide: add Flameopathic as maintainer (#1026) 2025-03-19 22:15:27 +01:00
Daniel Thwaites
0c4ec73df6
firefox: improve option descriptions for extensions (#998)
- Made the descriptions of `colorTheme.enable` and
  `firefoxGnomeTheme.enable` specify which Firefox derivative they apply
  to, to clarify that these options are specific to each derivative.

- Switched from `mkEnableTarget` to `mkEnableOption`, as these options
  are not strictly targets: they enable additional programs. This also
  changes the option description slightly.

- Removed the multi-line string as this was adding whitespace where it's
  not needed, due to the trailing newline.

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 18:10:24 +01:00
awwpotato
e43eb4e2a7
stylix: init module maintainers framework (#977)
Initialize module maintainers framework to streamline the future
population of module maintainers [1].

[1]: https://github.com/danth/stylix/issues/275

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

Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-14 19:29:51 +01:00
Flameopathic
6b5afdbb3e
{firefox,floorp,librewolf}: add profile warning (#963)
Add warning for Firefox derivations without declared profiles, aligning with
commit 4853879264 ("vscode: support arbitrary profiles (#914)").

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-10 20:36:30 +01:00
Flameopathic
3fce9fb038
treewide: propagate inputs and remove templates (#926)
Closes: https://github.com/danth/stylix/issues/238
Link: https://github.com/danth/stylix/pull/926

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-09 15:46:36 +01:00
awwpotato
489833b201
treewide: give mustache files correct file extensions (#946)
makes the filetype of the file more clear and makes it possible for
editorconfig (#945) to work for these files
2025-03-02 23:48:43 +00:00
bricked
de4ee58990
firefox: add gnome-theme testbed (#879)
Add a gnome-theme testbed and extract the profile name in the default
testbed.

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

Co-authored-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-28 20:12:14 +01:00
Daniel Thwaites
ebdcc2a190
doc: add module README for Firefox and derivatives (#897)
Link: https://github.com/danth/stylix/pull/897

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-24 19:10:45 +01:00
bricked
3a686a20b8
firefox: add colorTheme.enable option (#881)
Add the colorTheme.enable option to the Firefox derivatives by
installing the the Firefox Color extension.

This is not enabled by default because writing extension settings
requires manually setting 'extensions.force = true'. [1]

[1]: https://github.com/nix-community/home-manager/pull/6490

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

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-22 17:27:39 +01:00
NAHO
211a8440e7
stylix: support multiple testbeds per module (#858)
Support multiple testbeds per module with
/modules/<MODULE>/testbeds/<TESTBED>.nix, while validating various
invariants.
2025-02-17 12:56:46 +00:00
bricked
6b69fd47fa
firefox: support floorp browser (#785)
Adds support for Floorp by adding it to the list of supported Firefox
derivations.
2025-01-20 21:19:13 +00:00
NAHO
a8399897e8
treewide: remove redundant empty line in testbeds (#760)
Link: https://github.com/danth/stylix/pull/760
2025-01-08 02:30:39 +01:00
awwpotato
6d9867604e
treewide: reduce indentation level with lib.singleton (#754)
Reduce the indentation level with lib.singleton, as recommended by RFC 0166. [1]

[1]: 25c3f52463/rfcs/0166-nix-formatting.md (singleton-lists)

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-08 02:01:45 +01:00
bricked
1d7b70ed9e
firefox: add firefoxGnomeTheme.enable option (#702)
Link: https://github.com/danth/stylix/pull/702

Tested-by: Daniel Thwaites <danth@danth.me>
Approved-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-06 23:18:49 +01:00
NAHO
ad64260a75
treewide: add and apply nixfmt pre-commit hook
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:48:26 +01:00
Daniel Thwaites
71eea3f02a
treewide: add application testbeds (#612)
Extend testbeds with individual GUI applications beyond DEs, offering the
following benefits:

- Preview PRs without changing your real configuration by running:

    nix run github:«owner»/«repository»/«branch»#testbed-«application»-«polarity»'

- Unlike local installations, testbeds reset their filesystem between rebuilds,
  ensuring each test simulates a fresh installation to identify cases requiring
  manual steps for module effectiveness.

- Enhances CI to test that configurations evaluate correctly when a module is
  enabled. The extent to which this confirms that the configuration actually
  works can vary depending on the upstream implementation of the module.

The application testbeds are currently based on GNOME but could be replaced with
a lightweight compositor like Cage [1] in the future. GNOME was chosen for the
time being due to preconfigured services, such as a secret service [2], which
some applications require.

[1]: https://github.com/cage-kiosk/cage?tab=readme-ov-file#cage-a-wayland-kiosk
[2]: https://specifications.freedesktop.org/secret-service-spec/latest
2024-12-29 22:51:00 +00:00
bricked
079fecebad
firefox: leverage Home Manager's mkFirefoxModule pattern (#695)
Leverage Home Manager's mkFirefoxModule pattern introduced in commit
792757f643ce [1] ("firefox: support firefox derivatives").

[1]: 792757f643

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-25 19:24:28 +01:00
awwpotato
a9e3779949
librewolf: init (#679)
Link: https://github.com/danth/stylix/pull/679

Co-authored-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-13 18:16:08 +01:00
Daniel Thwaites
6c67f75101
firefox: add testbed 2024-11-08 18:00:44 +00:00
Jalil David Salamé Messina
7682713f6a
stylix: add 'stylix.enable' option (#244)
Add a 'stylix.enable' option to enable or disable all Stylix modules in
order to resolve issues similar to [2].

To align with the default 'lib.mkEnableOption' [1] behavior,
'stylix.enable' defaults to 'false'.

BREAKING CHANGE: Stylix is disabled by default. To enable it, use:

    stylix.enable = true;

[1]: https://github.com/NixOS/nixpkgs/blob/23.11/lib/options.nix#L91-L105
[2]: https://github.com/danth/stylix/issues/216

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
Co-authored-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-10 11:52:47 +02:00
Damien Cassou
41d2185975
Add Firefox module (#191) 2023-12-14 13:15:47 +00:00