summaryrefslogtreecommitdiff
path: root/nixos/common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/common.nix')
-rw-r--r--nixos/common.nix22
1 files changed, 17 insertions, 5 deletions
diff --git a/nixos/common.nix b/nixos/common.nix
index 69cde9c..324de81 100644
--- a/nixos/common.nix
+++ b/nixos/common.nix
@@ -49,12 +49,24 @@
services.xserver.enable = true;
# Configure keymap in X11
- services.xserver.layout = "fr-custom-lx";
+ services.xserver.layout = "fr-custom-lx,ergol-lx";
services.xserver.xkbOptions = "terminate:ctrl_alt_bksp,caps:escape";
- services.xserver.extraLayouts."fr-custom-lx" = {
- description = "French (LX custom azerty)";
- languages = ["fre"];
- symbolsFile = ../xkb/symbols/fr-custom-lx;
+ services.xserver.extraLayouts = {
+ "fr-custom-lx" = {
+ description = "French (LX custom azerty)";
+ languages = ["fre"];
+ symbolsFile = ../xkb/symbols/fr-custom-lx;
+ };
+ "ergol" = {
+ description = "Ergol";
+ languages = ["fre"];
+ symbolsFile = ../xkb/symbols/ergol-07;
+ };
+ "ergol-lx" = {
+ description = "Ergol LX";
+ languages = ["fre"];
+ symbolsFile = ../xkb/symbols/ergol-07-lx;
+ };
};
# Input method for japanese