nixos-laptop/nixos/cinnamon.nix

20 lines
393 B
Nix
Raw Normal View History

2024-11-09 15:54:33 +00:00
{
config,
lib,
...
}: let
cfg = config.pim.cinnamon;
in {
2024-11-07 19:47:40 +00:00
options.pim.cinnamon.enable = lib.mkEnableOption "cinnamon";
2024-11-09 15:54:33 +00:00
config = lib.mkIf cfg.enable {
2024-11-07 19:47:40 +00:00
services = {
displayManager.defaultSession = "cinnamon";
libinput.enable = true;
xserver = {
desktopManager.cinnamon.enable = true;
displayManager.lightdm.enable = true;
};
};
};
}