mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 01:43:56 -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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|