stylix: drop unnecessary use of self in home-manager
This commit is contained in:
parent
950483a5d0
commit
5fa31498d2
2 changed files with 14 additions and 19 deletions
|
|
@ -27,7 +27,7 @@
|
|||
{ pkgs, ... }@args:
|
||||
{
|
||||
imports = [
|
||||
(lib.modules.importApply ../stylix/hm inputs)
|
||||
../stylix/hm
|
||||
{
|
||||
stylix = {
|
||||
inherit inputs;
|
||||
|
|
|
|||
|
|
@ -1,32 +1,27 @@
|
|||
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; } "hm";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${inputs.self}/stylix/cursor.nix"
|
||||
"${inputs.self}/stylix/fonts.nix"
|
||||
"${inputs.self}/stylix/hm/cursor.nix"
|
||||
"${inputs.self}/stylix/hm/fonts.nix"
|
||||
"${inputs.self}/stylix/hm/icon.nix"
|
||||
"${inputs.self}/stylix/hm/palette.nix"
|
||||
"${inputs.self}/stylix/icon.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"
|
||||
./cursor.nix
|
||||
./fonts.nix
|
||||
./icon.nix
|
||||
./palette.nix
|
||||
../cursor.nix
|
||||
../fonts.nix
|
||||
../icon.nix
|
||||
../opacity.nix
|
||||
../palette.nix
|
||||
../pixel.nix
|
||||
../target.nix
|
||||
../release.nix
|
||||
../overlays.nix
|
||||
] ++ autoload;
|
||||
config.warnings =
|
||||
lib.mkIf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue