Commit graph

647 commits

Author SHA1 Message Date
Flameopathic
fc5acae54b
stylix: add version checks (#924)
Basic release version checks for NixOS, Home Manager, nix-darwin, and Stylix.

Fixes #379

Co-authored-by: Daniel Thwaites <danth@danth.me>
2025-03-10 15:36:48 +00:00
awwpotato
6c42dc31ef
mpv: init (#949)
Closes: https://github.com/danth/stylix/issues/185
Closes: https://github.com/danth/stylix/issues/186
Link: https://github.com/danth/stylix/pull/949

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-10 15:24:10 +01:00
Guilhem Saurel
6a7d563370
vim: fix incorrect input path (#976)
Follows #926
2025-03-10 14:13:49 +00:00
Flameopathic
2c20aed3b3
qt: autoenable hm module only on NixOS (#942)
Link: https://github.com/danth/stylix/pull/942

Reviewed-by: Kilian Mio <86004375+Mikilio@users.noreply.github.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-10 14:29:06 +01:00
NAHO
d732a61453
doc: add flake description and overhaul README (#928)
Link: https://github.com/danth/stylix/pull/928

Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-03-10 13:21:41 +01:00
NAHO
c97bcf77bd
doc: overhaul README
Link: https://github.com/danth/stylix/pull/928
2025-03-10 13:14:52 +01:00
NAHO
5d363a0051
stylix: add flake description
Link: https://github.com/danth/stylix/pull/928
2025-03-10 13:14:15 +01:00
Merrkry
a76068262c
palette: fix eval fail when image is null (#941)
Closes: https://github.com/danth/stylix/issues/911
Link: https://github.com/danth/stylix/pull/941

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Tested-by: https://github.com/bLuka
Approved-by: https://github.com/bLuka
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-09 16:15:45 +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
6eea250b10
dunst: fix opacity rounding (#965)
Link: https://github.com/danth/stylix/pull/965

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-08 01:07:57 +01:00
NAHO
4891f1471b
stylix: simplify dummy values (#959)
Fixes: c8e4a0d218 ("treewide: optionalize stylix.image option (#717)")
2025-03-07 21:00:49 +00:00
awwpotato
74f1ac55d3
fnott: init (#948)
Closes: https://github.com/danth/stylix/issues/556
Link: https://github.com/danth/stylix/pull/948

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-07 21:00:40 +01:00
awwpotato
7fc0a8716e
stylix: add editorconfig (#945)
Add EditorConfig complementary to the existing formatter checks:

> EditorConfig helps maintain consistent coding styles for multiple
> developers working on the same project across various editors and
> IDEs.
>
> -- EditorConfig, https://editorconfig.org

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-07 20:55:29 +01:00
Adam M. Szalkowski
6fada03cd5
nvf: init (#939)
Link: https://github.com/danth/stylix/pull/939

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-07 09:22:25 +01:00
Flameopathic
4853879264
vscode: support arbitrary profiles (#914)
vscode: support arbitrary profiles

The VSCode theme is no longer only applied to any profiles by default.

Closes: https://github.com/danth/stylix/issues/908
Link: https://github.com/danth/stylix/pull/914

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-07 09:18:46 +01:00
awwpotato
1178051794
ncspot: match style guide better and add transparent bg (#938)
Link: https://github.com/danth/stylix/pull/938

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-04 19:14:47 +01:00
awwpotato
afee64f3c5
rio: add emoji font family and convert font size to pixel unit (#937)
Closes: https://github.com/danth/stylix/issues/936

Tested-by: https://github.com/NovaViper
Approved-by: https://github.com/NovaViper
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Tested-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-04 18:56:55 +01:00
Daniel Thwaites
65c42633d4
ci: ignore Cachix errors (#952)
This commit allows CI jobs to degrade gracefully if Cachix has issues,
by skipping uploads and/or building packages from scratch rather than
failing the job.

This is in response to the recent failures on `master`, which appear to
be caused by a 502 (Bad Gateway) response while uploading some of the
build results.
2025-03-04 13:32:05 +00:00
adelille / Alexdelia
2f47285f9d
btop: memory and disk color gradient following logical color (#935)
Fixes #934
2025-03-04 12:28:41 +00: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
c74352a145
qt: adapt to style guide (#920)
Fix Catppuccin Kvantum theme [1] theme incompatibilities with the Stylix
style guide [2], resolving issues like unreadable buttons and other
inconsistencies.

[1]: https://github.com/danth/stylix/pull/142#issue-1837991495
[2]: https://stylix.danth.me/styling.html

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-28 10:20:15 +01:00
NAHO
e7c09d2066
nixvim: expose config for nixvim's standalone mode (#415)
Link: https://github.com/danth/stylix/pull/415

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-27 09:21:07 +01:00
David Neugebauer
2111394586
Convert image path to string for Hyprlock fixing #918 (#925)
Closes: https://github.com/danth/stylix/issues/918
Fixes: c8e4a0d218 ("treewide: optionalize stylix.image option (#717)")

Tested-by: https://github.com/Stormfox2
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-27 09:11:20 +01:00
Daniel Thwaites
b273375e6c
ci: add Cachix cache (#919)
This will improve CI performance, and may also be used locally,
although this is not officially documented at this time.

I tested the required amount of space by building a `pkgs.linkFarm`
containing all testbeds, then manually pushing this to an empty Cachix
cache.

The total space used was 274 MiB of the 5 GiB free allowance, so
Cachix is good enough to cache at least 20 commits of history,
assuming the worst case scenario of every commit changing
every derivation we build.

Fixes #880
2025-02-26 15:49:42 +00:00
Matt Sturgeon
eab1ecf41f
docs: document configuring Standalone Nixvim 2025-02-26 02:17:36 +00:00
Matt Sturgeon
0a4755b656
nixvim: expose config as read-only option
Allow standalone nixvim users to take advantage of stylix by exposing
the generated config as `config.lib.stylix.nixvim.config`.

This can be passed to the nixvim derivation's `extend` function or used
directly in a nixvim configuration.
2025-02-26 02:17:32 +00:00
Matt Sturgeon
6c361e9755
nixvim: simplify enable conditions
- Use `options.programs` over `config.programs` as it is slightly cheaper.
- Prefer using the `?` operator over `builtins.hasAttr`
2025-02-26 02:10:53 +00:00
Daniel Thwaites
a98c363a58
stylix: use new package name for Noto Color Emoji (#917)
Closes: https://github.com/danth/stylix/issues/913
Link: https://github.com/danth/stylix/pull/917

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-25 22:54:01 +01:00
NAHO
c9195530b4
stylix: apply testbed field separator check to each fields (#904)
Fixes: f121a142ab ("stylix: parametrize and change testbed field separator (#887)")
2025-02-25 11:59:31 +00:00
Daniel Thwaites
9d433a6b1a
swaylock: attempt to avoid infinite recursion (#899)
Although the initial pull request was approved [1], a conversation
on Matrix suggests that infinite recursion is indeed possible in
certain cases [2].

[1]: https://github.com/danth/stylix/pull/875
[2]: https://matrix.to/#/!FBhBUKKFkbUIElLvaF:danth.me/$yZz3nJYu9RgaN3736fxF1xY0BfzceGRSsvpiXSq6go4
2025-02-24 19:07:51 +00:00
Daniel Thwaites
359084aae6
doc: update GNOME testbed name in README (#909)
Following commit c8e4a0d218 ("treewide: optionalize stylix.image option
(#717)"), listing all testbed combinations is unnecessary. Consequently, only
one testbed is mentioned.

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

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-24 19:44:19 +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
Kilian Mio
225b4c57c9
qt: adds default value for qt.platform (#884)
Add a default value for the qt.platform option, following commit d171b19c1c
("qt: add temporary warnings for plasma6 (#845)") in an effort to resolve [1]
("Stylix Kvantum is breaking plasma6").

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

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-24 19:08:08 +01:00
NAHO
59d2c0ec52
stylix: update all flake inputs (#907)
Link: https://github.com/danth/stylix/pull/907

Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-02-24 17:26:51 +01:00
Jaanonim
cbe42e21ee
treewide: rename wpaperd and vscode options (#905)
Resolve the following warnings:

    - The option `programs.wpaperd.settings' defined in
      `/nix/store/<HASH>-source/modules/wpaperd/hm.nix' has been renamed
      to `services.wpaperd.settings'.

    - The option `programs.vscode.extensions' defined in
      `/nix/store/<HASH>-source/modules/vscode/hm.nix' has been renamed
      to `programs.vscode.profiles.default.extensions'.

    - The option `programs.vscode.userSettings' defined in
      `/nix/store/<HASH>-source/modules/vscode/hm.nix' has been renamed
      to `programs.vscode.profiles.default.userSettings'.


The VSCode theme is now only applied to the 'default' profile.

Closes: https://github.com/danth/stylix/issues/903
Link: https://github.com/danth/stylix/pull/905

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-24 16:43:41 +01:00
Flameopathic
2c4b5bec36
hyprlock: fix background color definition (#906)
Fixes: c8e4a0d218 ("treewide: optionalize stylix.image option (#717)")
2025-02-24 16:35:13 +01:00
Flameopathic
c8e4a0d218
treewide: optionalize stylix.image option (#717)
Optionalize the stylix.image option when stylix.base16Scheme is set,
making the following Stylix configurations valid:

    [
      // Now it possible to set 'stylix.image = null', if
      // stylix.base16Scheme is set.
      {
        base16Scheme = /* ... */;
      }

      // This configuration was already possible.
      {
        image = /* ... */;
      }

      // This configuration was already possible.
      {
        base16Scheme = /* ... */;
        image = /* ... */;
      }
    ]

Closes: https://github.com/danth/stylix/issues/200
Closes: https://github.com/danth/stylix/issues/442
Link: https://github.com/danth/stylix/pull/717

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-02-24 15:13:57 +01:00
NAHO
f121a142ab
stylix: parametrize and change testbed field separator (#887)
Parametrize and change the testbed field separator to the colon (':')
character to avoid ambiguity with module names containing hyphens ('-'),
and allow testbed names to contain hyphens.

Fixes: 211a8440e7 ("stylix: support multiple testbeds per module (#858)")
2025-02-23 18:17:59 +00:00
NAHO
689fd55ff2
ci: make get-derivations job fail when input command fails (#888)
Make the get-derivations job fail when the command writing to the
$GITHUB_OUTPUT file fails.

Previously, the $GITHUB_OUTPUT file was successfully created when the
input command failed, resulting in an empty $GITHUB_OUTPUT file. [1]

[1]: https://stackoverflow.com/questions/59287865
2025-02-23 17:13:26 +00:00
Daniel Thwaites
f403ca101e
doc: split modules into separate pages (#873) 2025-02-23 15:50:41 +00:00
Daniel Thwaites
1398fc4dc8
doc: use permalinks for option declarations 2025-02-23 15:20:12 +00:00
NAHO
f4401071ea
doc: add declaration entry 2025-02-23 15:20:12 +00:00
Daniel Thwaites
4c04e0dece
doc: redirect old reference pages to new location 2025-02-23 15:20:12 +00:00
Daniel Thwaites
2b2f260a69
doc: collapse platforms and modules
Collapsing is only possible for pages, not headings, so I had to
combine platforms and modules into a single section and nest them
under draft pages.

Later, we could migrate some content from the configuration page to
these draft pages to make the flow of the book more natural.
2025-02-23 15:20:12 +00:00
Daniel Thwaites
99096ef3e3
doc: clarify global option
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-23 15:20:11 +00:00
Daniel Thwaites
13667122ec
doc: standardize Bash code
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-23 15:20:11 +00: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
917e07af14
plymouth: remove trailing whitespaces and consecutive empty lines (#889)
Fixes: eb7b19c260 ("plymouth: support question and message widgets (#842)")
Link: https://github.com/danth/stylix/pull/889
2025-02-21 20:52:33 +01:00
Daniel Thwaites
8b6edfdfa8
{vencord,vesktop}: remove duplicate testbeds (#885)
Link: https://github.com/danth/stylix/pull/885
Fixes: 7feb1c29bf ("discord: combine nixcord, vencord, and vesktop modules (#854)")

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-21 15:02:30 +01:00