nix-config/modules/home/keyboard/default.nix
Bruno BELANYI e4dd57c997
Some checks failed
ci/woodpecker/push/check Pipeline failed
home: keyboard: extract from X module
This deserves to be its own standalone module, as I would want to use it
in both X and Wayland, etc...
2023-12-19 22:01:38 +01:00

17 lines
282 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";
};
};
}