nix-da/modules/sddm.nix

25 lines
514 B
Nix

{
self,
pkgs,
lib,
config,
...
}:
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 = "${self}/assets/wallpapers/nix-flake-pastel.jpg";
loginBackground = true;
})
];
}