Added surface configuration

This commit is contained in:
xeovalyte
2024-12-24 14:55:11 +01:00
parent 2a05a1ec06
commit be7e8d306f
6 changed files with 186 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
{ config, lib, ... }:
with lib;
let
cfg = config.settings.desktop-environments.gnome;
in {
options = {
settings.desktop-environments.gnome.enable = lib.mkOption {
type = lib.types.bool;
description = ''
Enable gnome desktop environment
'';
};
};
config = mkIf cfg.enable {
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
};
}