Commit graph

242 commits

Author SHA1 Message Date
0xda157
89f99bfeb8
vicinae: init (#1994)
Link: https://github.com/nix-community/stylix/pull/1994

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-11-21 22:34:06 +01:00
Georgiy Shevoroshkin
b9b0501839
gdu: init (#1995)
Link: https://github.com/nix-community/stylix/pull/1995

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-11-21 19:13:27 +01:00
Konrad Malik
c27bc6e9f9
stylix/home-manager-integration: fix evaluation on darwin (#1973)
Closes: https://github.com/nix-community/stylix/issues/1981
Link: https://github.com/nix-community/stylix/pull/1973

Reviewed-by: 0xda157 <da157@voidq.com>
Approved-by: https://github.com/pastadudes
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-11-20 15:43:32 +01:00
Zeremonienmeister Berber Aab
c3f66a0d6b
xresources: add berber to maintainers 2025-11-20 10:42:40 +01:00
Vidhan Bhatt
3013f98e28
ghostty: add vidhanio as maintainer (#1992)
Link: https://github.com/nix-community/stylix/pull/1992

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-11-19 23:19:06 +01:00
jamie
ab29ae14d7
limine: init (#1952)
Closes: https://github.com/nix-community/stylix/issues/991
Link: https://github.com/nix-community/stylix/pull/1952

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: 0xda157 <da157@voidq.com>
2025-11-19 19:48:07 +01:00
NAHO
dcf49c0c55
stylix/testbed/default: deprecate pkgs.system
Deprecate pkgs.system with pkgs.stdenv.hostPlatform.system, following
upstream commit [1] ("aliases: add warnings to deprecated system
definitions").

[1]: 90cb787644

Fixes: efd80454b4 ("flake: update nixpkgs input")
2025-11-17 16:08:02 +01:00
NAHO
628e990dde
treewide: apply Nixpkgs update
Fixes: efd80454b4 ("flake: update nixpkgs input")

Co-authored-by: 0xda157 <da157@voidq.com>
2025-11-17 16:08:01 +01:00
Konrad Malik
b68e822068
stylix/home-manager-integration: add missing icons integration (#1941)
Closes: https://github.com/nix-community/stylix/issues/1933
Link: https://github.com/nix-community/stylix/pull/1941

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-11-16 18:43:10 +01:00
khas-amir
3f70c58555
hyprpanel: init (#1916)
Closes: https://github.com/nix-community/stylix/issues/725
Link: https://github.com/nix-community/stylix/pull/1916

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-10-02 13:29:54 +02:00
Michael Golden
126e6c7625
obsidian: init (#1918)
Closes: https://github.com/nix-community/stylix/issues/1903
Link: https://github.com/nix-community/stylix/discussions/452
Link: https://github.com/nix-community/stylix/pull/1918

Reviewed-by: https://github.com/TheColorman
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-10-01 09:53:23 +02:00
NAHO
5b9710eee9
treewide: remove optional builtins prefixes from prelude functions (#1915)
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd --type file --exec-batch sed --in-place --regexp-extended "
      s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
      ))\>/\1/g
    "

    nix fmt

This patch is heavily inspired by [1] ("treewide: remove optional
builtins prefixes from prelude functions").

[1]: https://github.com/NixOS/nixpkgs/pull/444432

Link: https://github.com/nix-community/stylix/pull/1915

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-09-28 11:09:21 +02:00
NAHO
484819a16f
stylix/testbed/default: simplify attribute set declaration (#1906)
Link: https://github.com/nix-community/stylix/pull/1906
Fixes: c32c82e460 ("zen-browser: init (#1694)")

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-09-24 16:52:49 -07:00
Flameopathic
526c882800
nixvim: add standalone testbed (#1902)
Link: https://github.com/nix-community/stylix/pull/1902

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-09-24 14:17:30 +02:00
eveeifyeve
1a83d26d4c
stylix: add config.lib.stylix.{mkHexColor,mkOpacityHexColor} functions
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-09-08 18:55:38 +02:00
awwpotato
0e7b897c73
flake: update all inputs (#1881)
Update all inputs, rename the KDE platform, and apply formatter changes
by running the following commands:

    biome check --unsafe --write
    pre-commit run --all-files

Rename the KDE platform, following local commit f47c0edcf7 ("treewide:
remove Plasma 5 support dropped upstream (#1860)") and upstream commits
[1] ("nixos/treewide: clean up some more references to deleted qt5
things") and [2] ("qt: deprecate kde6").

[1]: 31d5c4e753
[2]: 1e759786e5

Closes: https://github.com/nix-community/stylix/issues/1865
Link: https://github.com/nix-community/stylix/pull/1866
Link: https://github.com/nix-community/stylix/pull/1881

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: Samuel Meenzen <samuel@meenzen.net>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-09-05 22:22:06 +02:00
NAHO
2567b92466
fontconfig: leverage lib.genAttrs and use mkOrder (#1718)
Link: https://github.com/nix-community/stylix/pull/1718

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-08-19 22:46:15 +02:00
Skryta Istota
e01d56cf5c
stylix/droid: fix import droid modules (#1823)
Link: https://github.com/nix-community/stylix/pull/1823

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-08-19 13:10:49 -07:00
geodic
05ac1c7074
gdm: apply icon theme (#970)
Link: https://github.com/nix-community/stylix/pull/970

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Tested-by: Daniel Thwaites <danth@danth.me>
2025-08-18 20:02:56 +01:00
Leonard-Orlando Menzel
1b5e1c5642
anki: init (#1801)
Link: https://github.com/nix-community/stylix/pull/1801

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-08-03 16:34:08 -07:00
NAHO
3b6731f6f0
stylix/testbed/modules/common: globally enable Bash (#1803)
Globally enable Bash to ensure environment variables are set, avoiding
individual testbeds to consider environment variable implementation
details.

Link: https://github.com/nix-community/stylix/pull/1803

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-30 10:23:34 -07:00
NAHO
9d539db980
treewide: properly quote stylix.image when used as a shell argument (#1805)
Link: https://github.com/nix-community/stylix/pull/1743
Link: https://github.com/nix-community/stylix/pull/1805

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-30 15:09:48 +02:00
Daniel Thwaites
8017dec82d
stylix/testbed: make path escaping test actually contain a space
Previously the space was sanitized away by `fetchurl` because it was
part of the derivation name. Also, the path with a space was not used
in the `schemeless` theme, which is where the bug happened.
2025-07-30 15:08:03 +02:00
Daniel Thwaites
3499e3ec70
treewide: properly quote stylix.image when used as a shell argument
Closes: https://github.com/nix-community/stylix/issues/1720
Fixes: 218d4424b0 ("treewide: remove redundant stylix.image Nix store copies (#1659)")
2025-07-30 15:02:19 +02:00
Shahar "Dawn" Or
7abe83d1ed fontconfig: set defaultFonts with mkOrder 600
Just for reference:

```nix
mkBefore = mkOrder 500;
defaultOrderPriority = 1000;
mkAfter = mkOrder 1500;
```
2025-07-28 18:08:07 +07:00
awwpotato
2f1ae3b872
stylix/testbed: add sendNotifications option (#1770)
Link: https://github.com/nix-community/stylix/pull/1770

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-27 19:05:26 +02:00
NAHO
ceda12a6da
flake: add Flake Parts tree into testbed environment (#1642)
Link: https://github.com/nix-community/stylix/pull/1642

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-24 17:46:46 +02:00
NAHO
1adb93fcbc
flake: add Flake Parts tree into testbed environment
Add the Flake Parts tree into the testbed environment, enabling
realistic testing interactions.

Flake Parts is chosen over Stylix to reduce cache invalidations, and
over other flake inputs as the smallest tree.
2025-07-24 16:58:27 +02:00
NAHO
fbe1dab778
stylix: apply stylix.iconTheme option rename to all sub-options (#1744)
Link: https://github.com/nix-community/stylix/pull/1744

Fixes: 1021b7d732 ("stylix: simplify API by renaming stylix.iconTheme option to stylix.icons")

Reviewed-by: awwpotato <awwpotato@voidq.com>
Tested-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-23 18:48:02 +00:00
NAHO
ea60526c8c
stylix: simplify API by renaming stylix.iconTheme option to stylix.icons (#1732)
Link: https://github.com/nix-community/stylix/pull/1732

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-21 19:07:31 +02:00
Karun Sandhu
c32c82e460
zen-browser: init (#1694)
Link: https://github.com/nix-community/stylix/pull/1694
Closes: https://github.com/nix-community/stylix/issues/1685

Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: awwpotato <awwpotato@voidq.com>
2025-07-20 16:47:35 -07:00
NAHO
1021b7d732
stylix: simplify API by renaming stylix.iconTheme option to stylix.icons 2025-07-20 23:26:58 +02:00
NAHO
699262a0f8
stylix: rename icon.nix to icon-theme.nix
Rename the icon.nix files to icon-theme.nix to better reflect its
declared iconTheme option.

Fixes: f3c2f5a179 ("stylix: set GTK icon theme (#603)")
2025-07-20 23:03:53 +02:00
NAHO
24499b0049
stylix: conditionally load external modules in testbeds (#1698)
Conditionally load external modules in testbeds to preserve testbed
integrity by preventing unrelated code from running and potentially
invalidating its meaning.

Any performance benefit is merely a side effect of this more targeted
module loading.

Link: https://github.com/nix-community/stylix/pull/1698

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-07-19 10:55:09 -07:00
NAHO
2e2e96f6b0
treewide: remove blank lines around 'let', 'in', and function arguments (#1700)
Link: https://github.com/nix-community/stylix/pull/1700

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-19 10:41:36 -07:00
awwpotato
03699ed214
stylix/testbed: respect xserver rename for gnome (#1714)
Fixes: 8c854fe383 ("stylix: allow choosing testbed desktop (#1222)")
Link: https://github.com/nix-community/stylix/pull/1714

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-17 13:01:22 +02:00
Mateus Auler
8c854fe383
stylix: allow choosing testbed desktop (#1222)
Allow choosing the testbed desktop, ideally as a temporary solution
until migrating to the cage environment.

Link: https://github.com/nix-community/stylix/pull/1222

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-16 15:43:02 +02:00
NAHO
45749a791e
stylix: remove optional parentheses (#1697)
Link: https://github.com/nix-community/stylix/pull/1697

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-15 09:51:55 -07:00
awwpotato
4add678fe3
stylix: do not check lambda pattern names with deadnix (#1689)
Link: https://github.com/nix-community/stylix/pull/1689
Reverts: c117edd7ee ("stylix: allow underscore in mkTarget configElements args (#1473)")

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-15 18:26:38 +02:00
Flameopathic
7f7472cc90
spicetify: add testbed (#1625)
Link: https://github.com/nix-community/stylix/pull/1625

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-14 22:41:24 +02:00
NAHO
218d4424b0
treewide: remove redundant stylix.image Nix store copies (#1659)
Link: https://github.com/nix-community/stylix/pull/1659

Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-13 15:21:22 -07:00
NAHO
f6c5aaa4f8
stylix: add missing trailing period in mkEnableTargetWith's description (#1681)
Link: https://github.com/nix-community/stylix/pull/1681

Fixes: 0449dae6d4 ("stylix: allow specifying `autoEnableExpr` in `mkEnableTargetWith`")

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-13 09:09:58 -07:00
Flameopathic
84e7ea0aa4
{nixvim,nvf}: add testbeds (#1579)
Link: https://github.com/nix-community/stylix/pull/1579

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: awwpotato <awwpotato@voidq.com>
2025-07-10 11:02:34 -07:00
awwpotato
9028a74f88
stylix: use isFunction (#1652)
Link: https://github.com/nix-community/stylix/pull/1652

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-09 19:43:37 +02:00
awwpotato
4eadb2503b
stylix: guard against config.stylix.*.enable in mkTarget (#1640)
Closes: https://github.com/nix-community/stylix/issues/1634
Link: https://github.com/nix-community/stylix/pull/1640

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-09 19:15:33 +02:00
stylix-automation[bot]
4cb10b3446
stylix: update all flake inputs (#1563)
Link: https://github.com/nix-community/stylix/pull/1563

Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-08 21:27:03 +00:00
NAHO
a294d8b2a3
stylix: fix 'unguarded' typo (#1613)
Fixes: dea0337e0b ("stylix: restrict access to config while using mkTarget (#1368)")
Link: https://github.com/nix-community/stylix/pull/1613

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-06 21:18:05 +00:00
NAHO
bba3152bd2
treewide: standardize URL format by removing trailing slashes (#1566)
Link: https://github.com/nix-community/stylix/pull/1566

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-07-06 22:18:33 +02:00
awwpotato
dea0337e0b
stylix: restrict access to config while using mkTarget (#1368)
Link: https://github.com/nix-community/stylix/pull/1368

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-04 19:08:21 +02:00
Flameopathic
73b7d0f300
stylix: guard home-manager-integration config (#1494)
Closes: https://github.com/nix-community/stylix/issues/1492
Link: https://github.com/nix-community/stylix/pull/1494

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Tested-by: https://github.com/alex-massa
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-01 16:02:18 +02:00