Make GNOME respect x11 vs wayland choice
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./x11.nix
|
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./default.nix
|
./default.nix
|
||||||
./lightdm.nix
|
./lightdm.nix
|
||||||
|
./x11.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.windowManager.dwm.enable = true;
|
services.xserver.windowManager.dwm.enable = true;
|
||||||
|
@@ -1,10 +1,14 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, userSettings, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./default.nix
|
./default.nix
|
||||||
|
(if userSettings.desktopType == "x11" then ./x11.nix else "")
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm = {
|
||||||
|
enable = true;
|
||||||
|
wayland = (if userSettings.desktopType == "x11" then false else true);
|
||||||
|
};
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user