cleaned up a whole bunch

This commit is contained in:
Gerg-L 2023-05-25 22:58:18 -04:00
parent 2f04dc0e23
commit a959cf3e97
17 changed files with 199 additions and 220 deletions

View file

@ -4,13 +4,10 @@
self,
pkgs,
...
}: let
cfg = config.localModules.DM.lightdm;
in {
options.localModules.DM.lightdm = {
enable = lib.mkEnableOption "";
};
config = lib.mkIf cfg.enable {
}: {
options.localModules.DM.lightdm.enable = lib.mkEnableOption "";
config = lib.mkIf config.localModules.DM.lightdm.enable {
services.xserver = {
displayManager = {
lightdm = {