configuration: extract nixos config into more files

This commit is contained in:
Leonardo Eugênio 2024-05-27 12:29:42 -03:00
parent 8e2781a59d
commit 212d65408a
9 changed files with 111 additions and 113 deletions

12
system/locale.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs, config, ... }: {
time.timeZone = "America/Sao_Paulo";
environment.variables.TZ = config.time.timeZone;
i18n.defaultLocale = "pt_BR.utf8";
# Configure keymap in X11
services.xserver.xkb = {
layout = "us";
variant = "colemak";
};
console.keyMap = "colemak";
}