Skip to content

Commit

Permalink
disabe xserver by default
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Nov 3, 2023
1 parent 9d76071 commit 2048601
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions modules/profiles/workstation/services/xserver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@
in {
config = mkIf (system.video.enable && builtins.elem device.type acceptedTypes) {
services.xserver = {
enable = true;
displayManager.gdm.enable = programs.defaults.loginManager == "gdm";
displayManager.lightdm.enable = programs.defaults.loginManager == "lightdm";
displayManager.sddm = {
enable = programs.defaults.loginManager == "sddm";
wayland.enable = true;
theme = "${import ../../../../../parts/pkgs/sddm.nix {inherit pkgs lib;}}";
settings = {
General = {InputMethod = "";};
enable = programs.defaults.loginManager != "greetd";
displayManager = {
gdm.enable = programs.defaults.loginManager == "gdm";
lightdm.enable = programs.defaults.loginManager == "lightdm";
sddm = {
enable = programs.defaults.loginManager == "sddm";
wayland.enable = true;
theme = "${import ../../../../../parts/pkgs/sddm.nix {inherit pkgs lib;}}";
settings = {
General = {InputMethod = "";};
};
};
};
};
Expand Down

0 comments on commit 2048601

Please sign in to comment.