nix-config/modules/home/keyboard/default.nix
Bruno BELANYI 26950332c7
All checks were successful
ci/woodpecker/push/check Pipeline was successful
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-23 14:56:55 +01:00

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";
};
};
}