stylix: drop unnecessary use of self in darwin

This commit is contained in:
Matt Sturgeon 2025-05-28 18:42:59 +01:00
parent 5fa31498d2
commit 9cb8a57eac
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
2 changed files with 11 additions and 16 deletions

View file

@ -43,7 +43,7 @@
{ pkgs, ... }@args:
{
imports = [
(lib.modules.importApply ../stylix/darwin inputs)
../stylix/darwin
{
stylix = {
inherit inputs;

View file

@ -1,29 +1,24 @@
inputs:
{
lib,
config,
...
}:
# Imported modules which define new options must use an absolute path based
# on ${inputs.self}, otherwise those options will not appear in the generated
# documentation.
let
autoload = import ../autoload.nix { inherit lib; } "darwin";
in
{
imports = [
"${inputs.self}/stylix/darwin/fonts.nix"
"${inputs.self}/stylix/darwin/palette.nix"
"${inputs.self}/stylix/fonts.nix"
"${inputs.self}/stylix/home-manager-integration.nix"
"${inputs.self}/stylix/opacity.nix"
"${inputs.self}/stylix/palette.nix"
"${inputs.self}/stylix/pixel.nix"
"${inputs.self}/stylix/target.nix"
"${inputs.self}/stylix/release.nix"
"${inputs.self}/stylix/overlays.nix"
./fonts.nix
./palette.nix
../fonts.nix
../home-manager-integration.nix
../opacity.nix
../palette.nix
../pixel.nix
../target.nix
../release.nix
../overlays.nix
] ++ autoload;
config.warnings =
lib.mkIf