Lot of change on structs
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.os.keyboard.apple;
|
||||
in
|
||||
{
|
||||
options.os.keyboard.apple = {
|
||||
enable = mkEnableOption "System apple locales service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "fr_BE.UTF-8";
|
||||
|
||||
# Configure console keymap
|
||||
console.keyMap = "mac-fr";
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
model = "macintosh";
|
||||
layout = "fr";
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user