nixos-configs/nixos/cinnamon.nix

25 lines
480 B
Nix
Raw Permalink Normal View History

2024-11-09 15:54:33 +00:00
{
2024-11-16 23:16:55 +00:00
pkgs,
2024-11-09 15:54:33 +00:00
config,
lib,
...
}: let
cfg = config.pim.cinnamon;
in {
2024-11-07 19:47:40 +00:00
options.pim.cinnamon.enable = lib.mkEnableOption "cinnamon";
2024-11-09 15:54:33 +00:00
config = lib.mkIf cfg.enable {
2024-11-07 19:47:40 +00:00
services = {
displayManager.defaultSession = "cinnamon";
libinput.enable = true;
xserver = {
desktopManager.cinnamon.enable = true;
displayManager.lightdm.enable = true;
};
};
2024-11-16 23:16:55 +00:00
2024-11-30 12:14:46 +00:00
environment.cinnamon.excludePackages = [
pkgs.gnome-terminal
2024-11-16 23:16:55 +00:00
];
2024-11-07 19:47:40 +00:00
};
}