nixcfg/nixosModules/desktop/cinnamon/default.nix

24 lines
393 B
Nix
Raw Normal View History

2024-05-11 21:36:27 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.desktop.cinnamon.enable =
lib.mkEnableOption "Cinnamon desktop session.";
};
config = lib.mkIf config.alyraffauf.desktop.cinnamon.enable {
# Enable Cinnamon.
services = {
xserver = {
enable = true;
desktopManager.cinnamon = {
enable = true;
};
};
};
};
}