added options to build with to avoid removing and re-adding stuff

This commit is contained in:
twoneis 2024-01-13 22:06:10 +01:00
parent 90b5d970be
commit 066b65c34c
8 changed files with 81 additions and 56 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ pkgs, lib, config, ... }: lib.mkIf (config.withGnome) {
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;