Refactor modules to separate nixos from hm code
This commit is contained in:
parent
76a254f9fe
commit
fbad7b1b0c
38 changed files with 695 additions and 702 deletions
9
modules/lightdm/nixos.nix
Normal file
9
modules/lightdm/nixos.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue