diff --git a/modules/dwl.nix b/modules/dwl.nix index 328c11b..cf24573 100644 --- a/modules/dwl.nix +++ b/modules/dwl.nix @@ -23,8 +23,10 @@ in config = lib.mkIf cfg.enable { services.graphical-desktop.enable = lib.mkDefault true; - services.displayManager.sessionPackages = [ cfg.package ]; - services.displayManager.defaultSession = "dwl"; + services.displayManager = { + sessionPackages = [ cfg.package ]; + defaultSession = "dwl"; + }; security = { polkit.enable = lib.mkDefault true;