Commit graph

7 commits

Author SHA1 Message Date
Alexander
a4406d9799
vicinae: support Home Manager module alongside upstream module (#2068)
Some checks failed
Label Merge Conflicts / conflicts (push) Has been cancelled
Documentation / docs (push) Has been cancelled
Support the Home Manager module via programs.vicinae alongside the
upstream module's services.vicinae namespace.

Unifying both modules is continued in [1] ("vicinae: move from programs
to services").

[1]: https://github.com/nix-community/home-manager/pull/8313

Closes: https://github.com/nix-community/stylix/issues/2076
Link: https://github.com/nix-community/stylix/pull/2068

Reviewed-by: 0xda157 <da157@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2026-01-05 23:37:47 +01:00
0xda157
6850ad2e9f
vicinae: update configuration format to support v0.17.* (#2111)
Link: https://github.com/nix-community/stylix/pull/2111
2026-01-02 15:46:46 -08: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
0xda157
cd11c057b0
vicinae: fix check for vicinae being imported (#2012)
Fixes: 89f99bfeb8 ("vicinae: init (#1994)")
Link: https://github.com/nix-community/stylix/pull/2012

Tested-by: @anton:gersthof.com on matrix
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-11-21 23:32:47 +00:00
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