This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
AsaJS/modules/features/system/sddm.nix
2026-04-14 01:15:18 +07:00

29 lines
571 B
Nix

{
pkgs,
lib,
config,
...
}: let
custom-sddm-astronaut = pkgs.sddm-astronaut.override {
embeddedTheme = config.device.dm.sddm.theme;
};
in {
services.displayManager.sddm = lib.mkIf config.device.dm.sddm.enable {
enable = true;
wayland.enable = true;
extraPackages = [
custom-sddm-astronaut
];
theme = "sddm-astronaut-theme";
settings = {
Theme = {
Current = "sddm-astronaut-theme";
};
};
};
environment.systemPackages = with pkgs; [
custom-sddm-astronaut
kdePackages.qtmultimedia
];
}