mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:53:55 -05:00
desktop: added cinnamon module
This commit is contained in:
parent
7ce691727e
commit
71db968efe
23
nixosModules/desktop/cinnamon/default.nix
Normal file
23
nixosModules/desktop/cinnamon/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -6,6 +6,7 @@
|
|||
}: {
|
||||
imports = [
|
||||
./budgie
|
||||
./cinnamon
|
||||
./gnome
|
||||
./greetd
|
||||
./hyprland
|
||||
|
|
Loading…
Reference in a new issue