Commit graph

68 commits

Author SHA1 Message Date
theunpleasantowl
f6e9fbaeb3
gnome: only exclude GNOME backgrounds when setting wallpaper (#2088)
Link: https://github.com/nix-community/stylix/pull/2088

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-12-15 08:53:00 +01:00
NAHO
dfc859f54d
treewide: optionalize mkTarget's humanName and name arguments
Optionalize mkTarget's 'humanName' and 'name' arguments by inferring
'humanName' from the 'name' attribute in the /modules/<MODULE>/meta.nix
file, and 'name' from the /modules/<NAME>/ directory name.

Inferring the 'humanName' and 'name' arguments ensures consistency and
reduces boilerplate.

The 'humanName' and 'name' arguments are optionalized instead of removed
because complex modules generating target derivations need to
distinguish between them.

Closes: https://github.com/nix-community/stylix/issues/1661
2025-12-10 14:48:37 +01:00
NAHO
16df6b8448
treewide: rename mkTarget's configElements and extraOptions options
Rename mkTarget's 'configElements' argument to 'config' and
'extraOptions' to 'options' to provide a more transparent interface with
the underlying Nixpkgs module system.
2025-12-10 14:48:20 +01:00
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
Daniel Thwaites
d39adb8fd4
gnome: update variable definitions for GNOME 49 2025-11-15 22:06:26 +00:00
Vidhan Bhatt
d8def6e86c
gnome: update patches for 49 2025-11-14 15:23:03 -05: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
Daniel Thwaites
5c34e203c5
gnome: get extension UUID from package metadata (#1876)
Just a small change to get the UUID from a single source of truth,
rather than hardcoding it. The generated script is exactly the same
as before.

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

Approved-by: awwpotato <awwpotato@voidq.com>
2025-09-05 19:14:14 +01: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
awwpotato
e0db8fc17a
gnome/hm: use mkTarget (#1650)
Link: https://github.com/nix-community/stylix/pull/1650

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-30 14:55:42 +02: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
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
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
Matt Sturgeon
289356d031
treewide: use mkEnableTargetWith for dynamic conditions
Ensure enable options with dynamic `autoEnable` are documented
correctly.
2025-06-04 15:48:14 +01:00
repparw
48c4636856
gnome: fix xserver option renames (#1429) 2025-06-01 17:30:05 +01:00
Flameopathic
17398c4fce treewide: name default testbeds 2025-05-24 08:53:58 -04:00
awwpotato
230705d5fb
gnome: don't apply hm on darwin (#1316) 2025-05-22 10:03:27 +01:00
Daniel Thwaites
2eaa338eb8
gnome: install User Themes extension (#1306) 2025-05-18 16:26:10 +02:00
Flameopathic
e2fe2df9b0
doc: restructure module rendering (#1083) 2025-05-18 14:09:50 +01:00
Daniel Thwaites
940de011bb
gnome: update CSS to version 48.1 (#1295)
Closes: https://github.com/danth/stylix/issues/1293

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-18 04:38:11 +00: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
NAHO
6d16807fc5
Merge branch 'master' into treewide-init-maintainers 2025-04-13 19:59:13 +02:00
Flameopathic
82f67a36eb
doc: align module capitalization (#1115)
Closes: https://github.com/danth/stylix/issues/1084
Link: https://github.com/danth/stylix/pull/1115

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
2025-04-10 08:45:51 +02:00
Daniel Thwaites
1ac1b0d951
treewide: add danth as maintainer (#1011) 2025-03-19 18:54:09 +01:00
awwpotato
e43eb4e2a7
stylix: init module maintainers framework (#977)
Initialize module maintainers framework to streamline the future
population of module maintainers [1].

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

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

Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-14 19:29:51 +01:00
Flameopathic
6a2e525887
stylix: optionalize cursor and disable by default (#943)
Closes: https://github.com/danth/stylix/issues/940
Link: https://github.com/danth/stylix/pull/943

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-03-14 14:48:06 +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
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
211a8440e7
stylix: support multiple testbeds per module (#858)
Support multiple testbeds per module with
/modules/<MODULE>/testbeds/<TESTBED>.nix, while validating various
invariants.
2025-02-17 12:56:46 +00:00
Daniel Thwaites
e86de61bb8
gnome: fix Home Manager activation (#860)
This suffers from the same issues as the KDE activation:

- The program is not available in $PATH, but should not be installed for
  all users.

- The program only works when GNOME Shell is running.

Therefore, we use a very similar solution.

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-12 16:43:34 +01:00
Daniel Thwaites
36c39ff014
gnome: fix foreground color of transparent panels (#788)
Fixes #380
2025-01-22 22:28:05 +00: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
3c54cb3384
treewide: ignore unused arguments detected by deadnix
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
Devin
a2d66f2547
treewide: extend stylix.imageScalingMode support
Add stylix.imageScalingMode support to all modules except:

- hyprlock
- hyprpaper
- kde
- lightdm
- sway

Closes: https://github.com/danth/stylix/issues/677
Link: https://github.com/danth/stylix/pull/678

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2024-12-18 15:15:36 +01: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
Kasper
04afcfc068
gnome: fix GDM theme not applying when Gnome is disabled (#598) 2024-10-26 18:24:33 +01:00
dasj19
ef81ad9e85
gnome: move gnome-shell overlay out of gnome scope (#541)
In response to this PR: https://github.com/NixOS/nixpkgs/pull/338583
2024-09-02 16:29:33 +01:00
NAHO
6c895c6b42
gnome: rename deprecated pkgs.gnome.gnome-backgrounds package (#531)
Rename the deprecated `pkgs.gnome.gnome-backgrounds` package to
`pkgs.gnome-backgrounds`, following
6e8760f7f7.

Cc: @knoopx

Co-authored-by: Victor Martinez <knoopx@gmail.com>
2024-08-26 21:09:37 +01:00
Daniel Thwaites
80e8e1e2f6
treewide: add linters and apply pending suggestions (#426) 2024-06-16 15:08:25 +01:00
Daniel Thwaites
76d6ca2224
treewide: remove use of with lib (#425) 2024-06-14 22:36:25 +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
NAHO
5234b3d467
gnome: use internal mkEnableTarget function (#397)
Follows: 679a806768
2024-05-28 12:24:18 +01:00
Daniel Thwaites
98039f3331
gnome: change panel background to base01 (#360)
This was the color used for GNOME 45, and is consistent with other Stylix targets.
2024-05-12 13:58:29 +02:00
Daniel Thwaites
197526923a
gnome: update to GNOME 46 (#357) 2024-05-09 12:41:00 +00:00
Daniel Thwaites
0fe277a364
treewide: remove lib.mdDoc (#349) 2024-04-22 22:25:40 +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
fdf8fd261e
treewide: use Bash internal 'test' command (#311)
Related: https://stackoverflow.com/questions/3427872
2024-03-30 11:23:23 +00:00
Bernardo Meurer
bb3a519878
gnome: remove impure getFlake (#283)
This was a workaround for divnix/digga#502, but digga is now
discontinued, and the workaround is causing a bug.

Fixes: https://github.com/danth/stylix/issues/282
2024-03-13 22:50:21 +00:00
Daniel Thwaites
50cae37cfe
gnome: rename overrideScope' to overrideScope
This clears up a warning which appears on recent Nixpkgs versions.
2024-02-12 17:04:49 +00:00