refactor
This commit is contained in:
parent
66c05f9093
commit
45d6f4b0f3
205 changed files with 9040 additions and 342 deletions
17
modules/nixos/system/locale/default.nix
Normal file
17
modules/nixos/system/locale/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ options, config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.plusultra;
|
||||
let cfg = config.plusultra.system.locale;
|
||||
in
|
||||
{
|
||||
options.plusultra.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"; };
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue