Fix usage of hm module when system config does not use stylix (#79)
This commit is contained in:
parent
acd0c34393
commit
4205a141bf
1 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
|||
{ lib, args }:
|
||||
|
||||
path: default:
|
||||
if (args ? "osConfig" && args.osConfig.stylix.homeManagerIntegration.followSystem)
|
||||
if ( args ? "osConfig"
|
||||
&& args.osConfig ? "stylix"
|
||||
&& args.osConfig.stylix.homeManagerIntegration.followSystem)
|
||||
then lib.attrByPath path default args.osConfig.stylix
|
||||
else default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue