summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2021-09-07 18:57:37 -0400
committerfigsoda <figsoda@pm.me>2021-09-10 18:48:14 -0400
commit9c82ab55b1ae40c162aaf7d91c9314f66ad4e075 (patch)
treed36b4107f77b2ef34355a7bd09559e4ffc48e6f9 /nixos
parent82d19cb068d7213c8beaa96220f1d81d57a28381 (diff)
nixos/xserver: fix extraLayouts with displayManager.sx.enable
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/display-managers/sx.nix2
-rw-r--r--nixos/modules/services/x11/extra-layouts.nix3
2 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/display-managers/sx.nix b/nixos/modules/services/x11/display-managers/sx.nix
index 132531c0ddc0..73d27390a580 100644
--- a/nixos/modules/services/x11/display-managers/sx.nix
+++ b/nixos/modules/services/x11/display-managers/sx.nix
@@ -34,4 +34,6 @@ in {
};
systemd.services.display-manager.enable = false;
};
+
+ meta.maintainers = with maintainers; [ figsoda ];
}
diff --git a/nixos/modules/services/x11/extra-layouts.nix b/nixos/modules/services/x11/extra-layouts.nix
index f48216ff446f..0e2edc6a5309 100644
--- a/nixos/modules/services/x11/extra-layouts.nix
+++ b/nixos/modules/services/x11/extra-layouts.nix
@@ -166,7 +166,8 @@ in
services.xserver = {
xkbDir = "${pkgs.xkb_patched}/etc/X11/xkb";
- exportConfiguration = config.services.xserver.displayManager.startx.enable;
+ exportConfiguration = config.services.xserver.displayManager.startx.enable
+ || config.services.xserver.displayManager.sx.enable;
};
};