{
  pkgs,
  lib,
  config,
  inputs,
  ...
}:
lib.mkIf config.services.displayManager.sddm.enable {
  services.displayManager.sddm = {
    wayland.enable = true;
    autoNumlock = true;
    theme = "catppuccin-mocha";
    package = pkgs.kdePackages.sddm;
  };

  environment.systemPackages = [
    (pkgs.catppuccin-sddm.override {
      flavor = "mocha";
      font = "Noto Sans";
      fontSize = "9";
      background = inputs.wallpapers.wallpapers.pastel.nix-flake-pastel.path;
      loginBackground = true;
    })
  ];
}
