nix/module/DisplayManager.nix

16 lines
348 B
Nix
Raw Normal View History

2024-06-25 04:04:39 +03:00
{ config, lib, ... }: with lib; let
cfg = config.module.desktop.dm;
in {
options = {
module.desktop.dm.enable = mkEnableOption "Display Manager.";
};
config = mkIf cfg.enable {
services.xserver.enable = true;
services.xserver.xkb = {
layout = config.setting.keyboard.layouts;
options = config.setting.keyboard.options;
};
2024-03-28 07:51:33 +03:00
};
}