tadpole: Add localisation module

This commit is contained in:
Alexander Heldt
2024-07-20 17:59:37 +02:00
parent b1d64e8680
commit 34cc2ca164
2 changed files with 20 additions and 4 deletions

View File

@@ -21,9 +21,7 @@
};
};
networking.hostName = "tadpole"; # Define your hostname.
time.timeZone = "Europe/Stockholm";
networking.hostName = "tadpole";
users.users.alex = {
isNormalUser = true;
@@ -61,4 +59,3 @@
system.stateVersion = "24.05"; # Did you read the comment?
}

View File

@@ -0,0 +1,19 @@
{
time.timeZone = "Europe/Stockholm";
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "sv_SE.UTF-8";
LC_IDENTIFICATION = "sv_SE.UTF-8";
LC_MEASUREMENT = "sv_SE.UTF-8";
LC_MONETARY = "sv_SE.UTF-8";
LC_NAME = "sv_SE.UTF-8";
LC_NUMERIC = "sv_SE.UTF-8";
LC_PAPER = "sv_SE.UTF-8";
LC_TELEPHONE = "sv_SE.UTF-8";
LC_TIME = "en_US.UTF-8";
};
};
}