1
0
Fork 0
nix-configuration/modules/ui/desktops/budgie.nix

26 lines
631 B
Nix
Raw Normal View History

# Enables the Budgie desktop environment.
2024-08-02 21:55:48 +00:00
{ config, lib, ... }:
let
cfg = config.aux.system.ui.desktops.budgie;
in
{
options = {
2024-09-08 15:58:56 +00:00
aux.system.ui.desktops.budgie.enable = lib.mkEnableOption "Enables the Budgie desktop environment.";
};
config = lib.mkIf cfg.enable {
aux.system.ui.desktops.enable = true;
services.xserver = {
enable = true;
desktopManager.budgie.enable = true;
displayManager.lightdm.enable = lib.mkIf (
!(
config.services.xserver.displayManager.gdm.enable
|| config.services.xserver.displayManager.sddm.enable
)
) true;
};
};
}