2024-11-09 15:54:33 +00:00
|
|
|
{
|
2024-11-16 23:16:55 +00:00
|
|
|
pkgs,
|
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;
|
|
|
|
};
|
|
|
|
};
|
2024-11-16 23:16:55 +00:00
|
|
|
|
|
|
|
environment.cinnamon.excludePackages = with pkgs; [
|
|
|
|
gnome.gnome-terminal
|
|
|
|
];
|
2024-11-07 19:47:40 +00:00
|
|
|
};
|
|
|
|
}
|