Bruno BELANYI
26950332c7
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This deserves to be its own standalone module, as I would want to use it in both X and Wayland, etc...
17 lines
281 B
Nix
17 lines
281 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.my.home.keyboard;
|
|
in
|
|
{
|
|
options.my.home.keyboard = with lib; {
|
|
enable = my.mkDisableOption "keyboard configuration";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.keyboard = {
|
|
layout = "fr";
|
|
variant = "us";
|
|
};
|
|
};
|
|
}
|