VSCode on Linux now uses a custom title bar by default.
This should be colored in base01 to match our theming of GTK title bars
(although this is not explicitly mentioned in the style guide).
Link: https://github.com/danth/stylix/pull/979
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
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>
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>
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.
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>
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
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.
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>
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>
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>
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)")
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