25 lines
518 B
Nix
25 lines
518 B
Nix
{
|
|
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.path;
|
|
loginBackground = true;
|
|
})
|
|
];
|
|
}
|