nixos/modules/system/desktop/gnome/default.nix
Florian RICHER b7f82f87e8
All checks were successful
check / check (push) Successful in 34s
Big refactor (#1)
Reviewed-on: https://gitea.mrdev023.fr/florian.richer/nixos/pulls/1
Co-authored-by: Florian RICHER <florian.richer@protonmail.com>
Co-committed-by: Florian RICHER <florian.richer@protonmail.com>
2024-05-28 10:12:33 +02:00

23 lines
No EOL
527 B
Nix

{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.system.desktop.gnome;
in
{
options.modules.system.desktop.gnome = {
enable = mkEnableOption ''
Enable gnome with my custom configurations
'';
};
config = mkIf cfg.enable {
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the Gnome Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
# Enable the GNOME shell.
services.xserver.desktopManager.gnome.enable = true;
};
}