alqueva/computers/shared/sddm.nix

26 lines
445 B
Nix
Raw Normal View History

2024-10-16 17:01:46 +01:00
{
config,
pkgs,
lib,
...
}: let
cfg = config.alqueva.sddm;
in {
options.alqueva.sddm = {
enable = lib.mkEnableOption "sddm";
};
config = lib.mkIf cfg.enable {
services.displayManager.sddm = {
wayland = {
enable = true;
compositor = "kwin";
};
enable = true;
theme = "where_is_my_sddm_theme";
};
environment.systemPackages = [
pkgs.i-found-my-sddm-theme
];
};
}