Commit graph

90 commits

Author SHA1 Message Date
awwpotato
31fdf60634
stylix: disallow nixpkgs aliases in testbeds (#1124) 2025-04-09 12:08:31 +01:00
Daniel Thwaites
20117a58eb
ci: run all builds in a single job (#1069)
This works around GitHub's limit on the number of matrix jobs (fixes
#947), by running all builds in a single job. To maintain some speed, we
use `nix-fast-build`, which uses multiple cores for evaluation, and skips
any builds for which the final derivation is already in a binary cache.

Although this makes the run for an individual pull request slower, the
amount of duplicated work is greatly reduced: previously, we often had
100 machines building the same derivation in parallel. This means that
more runners are available should there be multiple pull requests opened
in a short space of time, so there is less queuing. It's also more
energy efficient.

A potential downside is that the logs are all merged together, so it can
be hard to find what failed when lots of outputs were built.
`nix-fast-build` does report a list of failed attributes at the end of
the log, but this is currently broken:
https://github.com/Mic92/nix-fast-build/pull/98

The script used to launch `nix-fast-build` is also added to the
developer shell for local use. This replaces the old `nix-flake-check`
package (closes #898).

I also saw the opportunity to enable checks on `aarch64-linux` and
`aarch64-darwin` - as these are available as GitHub hosted runners.
2025-03-30 12:26:07 +01:00
awwpotato
7e9906679d
stylix: check whether maintainers list is sorted (#1014)
Link: https://github.com/danth/stylix/pull/1014

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-20 19:56:23 +01:00
awwpotato
6e9927413f
stylix: add editorconfig-checker pre-commit hook (#1006)
Add editorconfig-checker pre-commit hook, following commits 7fc0a8716e
("stylix: add editorconfig (#945)") and 489833b201 ("treewide: give
mustache files correct file extensions (#946)").

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 18:33:54 +01:00
NAHO
4a8718e5a1 stylix: add missing comma in flake description
Fixes: e3233ead63 ("stylix: init droid (#778)")
2025-03-11 16:17:38 +01:00
bricked
e3233ead63
stylix: init droid (#778)
stylix: init nixOnDroidModules.stylix module to support Nix-on-Droid

Closes: https://github.com/danth/stylix/issues/775
Link: https://github.com/danth/stylix/pull/778

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-03-11 16:10:23 +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
5d363a0051
stylix: add flake description
Link: https://github.com/danth/stylix/pull/928
2025-03-10 13:14:15 +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
Daniel Thwaites
f403ca101e
doc: split modules into separate pages (#873) 2025-02-23 15:50:41 +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
Daniel Thwaites
e87bf16df9
stylix: use absolute paths for module imports 2025-02-18 14:37:50 +00:00
Bernardo Meurer
d8289c3f0e
ci: disable IFD (#855)
Disable IFD in the CI to prevent regressions mentioned in commit
e72aa84da1 ("{vencord,vesktop}: revert attempt to support fonts
(#844)").

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-11 22:32:56 +01:00
NAHO
d513f59da5
stylix: update and simplify flake-compat instructions (#816)
Link: https://github.com/danth/stylix/pull/816

Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-02-03 20:40:26 +01:00
NAHO
55418e8fc8
stylix: downgrade and lock base16-vim input (#811)
Closes: https://github.com/danth/stylix/issues/800
Fixes: a88c4d264a ("stylix: update all flake inputs (#774)")
Link: https://github.com/danth/stylix/pull/811

Tested-by: https://github.com/Limvot
Tested-by: https://github.com/alex-massa
2025-01-28 01:53:58 +01:00
LemmusLemmus
76b1f6eb1d
stylix: add jq to runtimeInputs (#782) 2025-01-20 20:31:13 +00:00
NAHO
a88c4d264a
stylix: update all flake inputs (#774)
Update all flake inputs and resolve the following warning:

    warning: input 'git-hooks' has an override for a non-existent input
    'nixpkgs-stable'

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

Approved-by: Daniel Thwaites <danth@danth.me>
2025-01-16 03:19:51 +01:00
NAHO
2985ee9b28
stylix: enhance nix-flake-check output and make location-independent (#750)
Link: https://github.com/danth/stylix/pull/750
2025-01-15 16:34:51 +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
def1e485d5
stylix: make nix-flake-check package execution location-independent
Make the execution of the nix-flake-check package independent of the
current working directory, making the following command work as
expected:

    nix run github:danth/stylix#nix-flake-check

This is especially convenient for testing PRs locally without checking
them out.
2025-01-06 18:35:59 +01:00
NAHO
0365d80e2d
stylix: decrease verbosity level of nix-flake-check package
Decrease the verbosity level of the nix-flake-check package, aligning
with the behavior of the .github/workflows/check.yml workflow.
2025-01-06 18:17:19 +01:00
NAHO
0969c2e792
stylix: colorize and prefix nix-flake-check output 2025-01-06 18:15:36 +01:00
NAHO
e88850f9c2
stylix: add progress bar to nix-flake-check package 2025-01-06 18:04:32 +01:00
Floryan Simar
b47ef3b856
zed: init (#620)
Closes: https://github.com/danth/stylix/issues/348
Link: https://github.com/danth/stylix/pull/620

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-06 16:21:27 +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
NAHO
807c81894e
stylix: add ghc developer shell
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:53 +01:00
NAHO
708b2147c0
stylix: add hlint pre-commit hook
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
439c6cf24e
treewide: add and apply stylish-haskell
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
d3bdbf0c5b
treewide: add and apply yamllint pre-commit hook
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
5ab7d0345a
treewide: add and apply typos pre-commit hook
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
a0838923e4
stylix: add nix-flake-check package
Add the nix-flake-check package, which is a parallelized alternative to
'nix flake check', as it is not yet natively parallel:

> In the near future, we will make more Nix subcommands multi-threaded,
> such as 'nix flake check'.
>
> -- Eelco Dolstra, https://determinate.systems/posts/parallel-nix-eval

On a 16-threaded machine, 'nix run .#nix-flake-check' runs three times
faster (74s vs. 243s) than 'nix flake check'.

Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
e56d332ca3
stylix: add packages to checks output
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
b3230ef398
stylix: integrate pre-commit hooks into developer shell
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
6085560893
stylix: add deadnix and statix pre-commit hooks
Add the deadnix and statix pre-commit hooks used in the Lint GitHub
workflow.

Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
703f49aaca
treewide: add developer shell
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
90f95c5d84
stylix: point nixpkgs input to more conventional nixos-unstable ref (#712) 2025-01-02 17:55:30 +00:00
Daniel Thwaites
ffba1f1bab
gnome: update to GNOME 47.2 (#658)
Closes: https://github.com/danth/stylix/issues/618
Link: https://github.com/danth/stylix/pull/658

Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-03 22:46:45 +01:00
Kilian Mio
6863412636
foot: disable faulty check (#576)
Closes: https://github.com/danth/stylix/issues/571

Approved-by: Daniel Thwaites <danthwaites30@btinternet.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-08 19:26:05 +01:00
NAHO
f95022bb6e
stylix: downgrade and lock tinted-kitty input (#589)
Downgrade and lock the tinted-kitty input to avoid upstream breaking
changes.

Considering that Stylix eventually re-implements tinted-kitty's
functionality [1], it might be easiest to lock this input to avoid
wasted maintenance effort.

This downgrade revokes commit 5699ba97c6 ("stylix: bump tinted-kitty
input (#588)"), which resolved the issue "bug: inconsistent color
between terminals (foot & kitty)" [2] by pulling [3]. Since the desired
commit [3] follows the commit introducing the breaking changes [4], it
cannot be pulled without resolving these breaking changes.

[1]: https://github.com/danth/stylix/issues/534
[2]: https://github.com/danth/stylix/issues/567
[3]: 292c7175f7
[4]: 9569d8a3e8

Link: https://github.com/danth/stylix/issues/571
Link: https://github.com/danth/stylix/pull/589
2024-10-11 10:58:00 +01:00
NAHO
cf8b6e2d4e
stylix: rename base16-foot, base16-tmux, and base16-kitty inputs (#572) 2024-09-24 23:52:56 +01:00
NAHO
77a65800e6
stylix: adopt flake-utils.lib.eachDefaultSystem
Adopt the flake-utils.lib.eachDefaultSystem function for added features
like '--impure' flag support [1].

[1]: https://github.com/numtide/flake-utils/pull/115

Link: https://github.com/danth/stylix/pull/515
2024-08-21 12:39:17 +02:00
NAHO
ab67c50983
stylix: delegate to upstream default architecture list
Delegate to the upstream default architecture list without altering the
supported architectures.

Link: https://github.com/danth/stylix/pull/515
2024-08-21 12:39:17 +02:00
NAHO
9447b17f70
stylix: re-add flake-utils dependency and interface flake systems
Re-add the flake-utils dependency removed in commit ff5da2914c
("Remove dependency on flake-utils ") and interface
flake systems using the "externally extensible flake systems" [1]
pattern.

[1]: https://github.com/nix-systems/nix-systems

Closes: https://github.com/danth/stylix/issues/512
Link: https://github.com/danth/stylix/pull/515
2024-08-21 12:35:51 +02:00
Shanon McQuay
a7fbda1fd9
vim: use maintained fork of base16-vim (#428) 2024-06-15 14:11:46 +01:00
Daniel Thwaites
197526923a
gnome: update to GNOME 46 (#357) 2024-05-09 12:41:00 +00:00
Sergei Zimmerman
2f29ecd3e4
alacritty: replace base16-alacritty with a custom theme (#346)
Replaces mustache template with a theme specified using
Home Manager options. This removes the need for separate
templates for TOML and YAML formats.

The new colors better align with other terminal modules (e.g. wezterm),
and base24 schemes with bright- mnemonics are now supported.

Closes #341.
2024-04-22 14:17:05 +01:00
Daniel Thwaites
b36fb34a9c
stylix: add testbeds for desktop environments (#320)
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-04-18 09:10:23 +01:00
NAHO
a2d8d6b460
treewide: remove runtime fetch operations (#224)
Fixes #222
2024-02-07 11:03:02 +00:00
xokdvium
2d59480b45
alacritty: Use TOML template for recent versions (#219)
Since version 0.13.0 alacritty has switched to TOML config
file format. For backwards compatibility this patch implements conditional
template format depending on the package version.

Closes #214
2024-01-17 15:12:55 +00:00
Bernardo Meurer
feceaa9d81
Embed Xresources template to avoid IFD (#168) 2023-10-12 08:08:52 +01:00