split locale into seperate module & import it on kidney
This commit is contained in:
parent
9b1cdfb2e3
commit
02cefb91a4
3 changed files with 13 additions and 10 deletions
|
@ -43,6 +43,7 @@ in {
|
||||||
(modulePaths [
|
(modulePaths [
|
||||||
"core/tools.nix"
|
"core/tools.nix"
|
||||||
"core/users.nix"
|
"core/users.nix"
|
||||||
|
"core/locale.nix"
|
||||||
|
|
||||||
"programs/tools.nix"
|
"programs/tools.nix"
|
||||||
"programs/zsh.nix"
|
"programs/zsh.nix"
|
||||||
|
|
|
@ -3,17 +3,8 @@
|
||||||
./security.nix
|
./security.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
|
./locale.nix
|
||||||
../nix
|
../nix
|
||||||
../programs/zsh.nix
|
../programs/zsh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
i18n = {
|
|
||||||
defaultLocale = "en_US.UTF-8";
|
|
||||||
supportedLocales = [
|
|
||||||
"en_US.UTF-8/UTF-8"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
services.xserver.xkb.layout = "eu";
|
|
||||||
|
|
||||||
time.timeZone = lib.mkDefault "Europe/Berlin";
|
|
||||||
}
|
}
|
||||||
|
|
11
system/core/locale.nix
Normal file
11
system/core/locale.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
i18n = {
|
||||||
|
defaultLocale = "en_US.UTF-8";
|
||||||
|
supportedLocales = [
|
||||||
|
"en_US.UTF-8/UTF-8"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
services.xserver.xkb.layout = "eu";
|
||||||
|
|
||||||
|
time.timeZone = lib.mkDefault "Europe/Berlin";
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue