2021-04-02 20:46:45 +02:00
|
|
|
{ config, lib, ... }:
|
|
|
|
let
|
2023-12-19 22:00:32 +01:00
|
|
|
cfg = config.my.home.keyboard;
|
2021-04-02 20:46:45 +02:00
|
|
|
in
|
|
|
|
{
|
2023-12-19 22:00:32 +01:00
|
|
|
options.my.home.keyboard = with lib; {
|
|
|
|
enable = my.mkDisableOption "keyboard configuration";
|
|
|
|
};
|
|
|
|
|
2021-04-02 20:46:45 +02:00
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
home.keyboard = {
|
|
|
|
layout = "fr";
|
|
|
|
variant = "us";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|