Make london QWERTY
This commit is contained in:
parent
4acc66e604
commit
d76a0bc50e
|
@ -58,6 +58,8 @@
|
|||
/* Hardware acceleration */
|
||||
hwAccelerationGPU = "nvidia";
|
||||
|
||||
keymap = "us";
|
||||
|
||||
/* System secrets */
|
||||
sops = {
|
||||
gnupg.sshKeyPaths = [ ];
|
||||
|
|
|
@ -26,6 +26,7 @@ with lib;
|
|||
./home-manager
|
||||
sopsHmModule
|
||||
];
|
||||
home-manager.extraSpecialArgs.keymap = config.keymap;
|
||||
home-manager.users = builtins.mapAttrs
|
||||
(name: value:
|
||||
mkIf value.enableHomeManagerProfile ({
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, keymap, ... }:
|
||||
with lib;
|
||||
let
|
||||
isQwerty = keymap == "us";
|
||||
gnomeSchema = "org.gnome.desktop.interface";
|
||||
monitorModule = types.submodule {
|
||||
options = {
|
||||
|
@ -48,8 +49,8 @@ in
|
|||
|
||||
input = {
|
||||
"*" = {
|
||||
xkb_layout = "fr";
|
||||
# xkb_options = "compose:ralt";
|
||||
xkb_layout = keymap;
|
||||
xkb_options = mkIf isQwerty "compose:ralt";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue