mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 15:03:55 -05:00
23 lines
370 B
Nix
23 lines
370 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {
|
|
alyraffauf.desktop.cinnamon.enable =
|
|
lib.mkEnableOption "Cinnamon desktop session.";
|
|
};
|
|
|
|
config = lib.mkIf config.alyraffauf.desktop.cinnamon.enable {
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
desktopManager.cinnamon = {
|
|
enable = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|