Add all of iogamaster modules
This commit is contained in:
20
modules/nixos/system/locale/default.nix
Normal file
20
modules/nixos/system/locale/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.frajul; let
|
||||
cfg = config.system.locale;
|
||||
in {
|
||||
options.system.locale = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to manage locale settings.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
console = {keyMap = mkForce "us";};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user