diff --git a/hosts/brontes/configuration.nix b/hosts/brontes/configuration.nix index b1a3055..93fa9b1 100644 --- a/hosts/brontes/configuration.nix +++ b/hosts/brontes/configuration.nix @@ -38,6 +38,8 @@ ]; }; + services.displayManager.sddm.enable = true; + services.dbus.enable = true; programs = { diff --git a/modules/sddm.nix b/modules/sddm.nix index b1d9738..01758eb 100644 --- a/modules/sddm.nix +++ b/modules/sddm.nix @@ -1,7 +1,12 @@ -{ self, pkgs, ... }: { + self, + pkgs, + lib, + config, + ... +}: +lib.mkIf config.services.displayManager.sddm.enable { services.displayManager.sddm = { - enable = true; wayland.enable = true; autoNumlock = true; theme = "catppuccin-mocha";