mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 00:03:54 -05:00
24 lines
393 B
Nix
24 lines
393 B
Nix
|
{
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|