Commit graph

19 commits

Author SHA1 Message Date
0xda157
3a332459f4
treewide: use strict mode for nixfmt (#2041)
Link: https://github.com/nix-community/stylix/pull/2041
Link: https://github.com/nix-community/stylix/pull/1976#discussion_r2539186937

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-12-05 16:05:09 -08:00
NAHO
32b2c1c85d
firefox: simplify inherit formatting 2025-06-25 23:22:21 +02:00
NAHO
59d500f864
firefox: simplify derivation declaration 2025-06-25 23:20:20 +02:00
awwpotato
a231e38dfc
firefox: use mkTarget (#1339)
Link: https://github.com/nix-community/stylix/pull/1339

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-02 19:53:33 +02:00
Daniel Thwaites
7ddc94f9dc
treewide: add missing .s to extensions (#1165)
This fixes the issue mentioned at https://github.com/danth/stylix/pull/1164#pullrequestreview-2789195255

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-04-24 03:34:56 +00:00
awwpotato
31fdf60634
stylix: disallow nixpkgs aliases in testbeds (#1124) 2025-04-09 12:08:31 +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
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
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
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
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
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
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