Commit graph

10 commits

Author SHA1 Message Date
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
NAHO
a950a3f529
wayfire: remove optional toString (#1658)
Link: https://github.com/nix-community/stylix/pull/1658

Reviewed-by: 1444 <54070204+0x5a4@users.noreply.github.com>
Tested-by: 1444 <54070204+0x5a4@users.noreply.github.com>
2025-07-13 17:04:40 +02:00
1444
0150050d6e
wayfire: mixup between wayfire and wf-shell settings (#1670)
Fixes: aa5e3c0333 ("treewide: use mkTarget (batch 3) (#1371)")
Link: https://github.com/nix-community/stylix/pull/1670

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-11 13:00:32 +02:00
Flameopathic
5cd1e4ffd9
wayfire: remove illegal config.stylix access (#1609)
Link: https://github.com/nix-community/stylix/pull/1609
Fixes: aa5e3c0333 ("treewide: use mkTarget (batch 3) (#1371)")

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-06 13:20:30 -07:00
pancho horrillo
d28012b098
wayfire: capitalize humanName value (#1451)
Link: https://github.com/nix-community/stylix/pull/1451

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-03 18:06:38 +02:00
awwpotato
aa5e3c0333
treewide: use mkTarget (batch 3) (#1371)
Link: https://github.com/nix-community/stylix/pull/1371

Reviewed-by: pancho horrillo <pancho@pancho.name>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-03 15:58:55 +02:00
1444
f32b1c0875
wayfire: fix broken wallpaper option (#1087) 2025-04-03 10:36:11 -07: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
1444
708770fcb0
wayfire: init (#765)
Link: https://github.com/danth/stylix/pull/765

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 16:49:46 +01:00