Refactor modules to separate nixos from hm code

This commit is contained in:
DwarfMaster 2023-01-30 22:56:57 +01:00
parent 76a254f9fe
commit fbad7b1b0c
38 changed files with 695 additions and 702 deletions

View file

@ -0,0 +1,9 @@
{ config, lib, ... }:
{
options.stylix.targets.lightdm.enable =
config.lib.stylix.mkEnableTarget "LightDM" true;
config.services.xserver.displayManager.lightdm.background =
lib.mkIf config.stylix.targets.lightdm.enable config.stylix.image;
}