Fix keyboard layout for gdm

This commit is contained in:
Jakob Lechner 2025-08-06 02:58:45 +02:00
parent 69e05f6599
commit 464a4a9be8
5 changed files with 45 additions and 1 deletions

View file

@ -8,5 +8,25 @@ lib.mkIf (config.jalr.gui.enable && config.jalr.gui.gnome.enable) {
enable = true;
autoSuspend = false;
};
exportConfiguration = true;
};
/*
programs.dconf = {
enable = true;
profiles = {
user.databases = [{
settings = with lib.gvariant; {
"org/gnome/desktop/input-sources" = {
sources = [
(mkTuple [ "xkb" "de" ])
(mkTuple [ "xkb" "de+neo" ])
(mkTuple [ "xkb" "us" ])
];
};
};
}];
};
};
*/
}

View file

@ -1,6 +1,8 @@
{ config, lib, pkgs, ... }:
lib.mkIf (config.jalr.gui.enable && config.jalr.gui.sway.enable) {
services.displayManager.sessionPackages = [ pkgs.sway ];
programs = {
wshowkeys.enable = true;
dconf.enable = true;
@ -12,7 +14,7 @@ lib.mkIf (config.jalr.gui.enable && config.jalr.gui.sway.enable) {
};
services.greetd = {
enable = true;
enable = !config.jalr.gui.gnome.enable;
settings =
let
command = pkgs.writeShellScript "sway-init" ''