nixos/modules/options/system.nix

27 lines
351 B
Nix

{
config,
lib,
...
}:
with lib;
let
cfg = config.system;
in
{
options.system = {
locale = mkOption {
type = types.str;
default = "en_US.UTF-8";
};
keyMap = mkOption {
type = types.str;
default = "us";
};
timeZone = mkOption {
type = types.str;
default = "US/Eastern";
};
};
}