parent
87b5d5733f
commit
a484bed0e5
17
base.nix
17
base.nix
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./cachix.nix
|
./cachix.nix
|
||||||
|
./profiles/locale-no.nix
|
||||||
(if builtins.pathExists ./hardware-configuration.nix
|
(if builtins.pathExists ./hardware-configuration.nix
|
||||||
then ./hardware-configuration.nix # results of ‘nixos-generate-config
|
then ./hardware-configuration.nix # results of ‘nixos-generate-config
|
||||||
else {}
|
else {}
|
||||||
|
@ -60,20 +61,4 @@
|
||||||
services.fail2ban.enable = config.services.openssh.enable;
|
services.fail2ban.enable = config.services.openssh.enable;
|
||||||
networking.firewall.enable = true; # default
|
networking.firewall.enable = true; # default
|
||||||
|
|
||||||
# Time zone and internationalisation properties.
|
|
||||||
time.timeZone = "Europe/Oslo";
|
|
||||||
i18n.defaultLocale = "en_US.utf8";
|
|
||||||
i18n.extraLocaleSettings.LC_ADDRESS = "nb_NO.utf8";
|
|
||||||
i18n.extraLocaleSettings.LC_IDENTIFICATION = "nb_NO.utf8";
|
|
||||||
i18n.extraLocaleSettings.LC_MEASUREMENT = "nb_NO.utf8";
|
|
||||||
i18n.extraLocaleSettings.LC_MONETARY = "nb_NO.utf8";
|
|
||||||
i18n.extraLocaleSettings.LC_NAME = "nb_NO.utf8";
|
|
||||||
i18n.extraLocaleSettings.LC_NUMERIC = "nb_NO.utf8";
|
|
||||||
i18n.extraLocaleSettings.LC_PAPER = "nb_NO.utf8";
|
|
||||||
i18n.extraLocaleSettings.LC_TELEPHONE = "nb_NO.utf8";
|
|
||||||
i18n.extraLocaleSettings.LC_TIME = "nb_NO.utf8";
|
|
||||||
console.keyMap = "no";
|
|
||||||
services.xserver.layout = "no";
|
|
||||||
services.xserver.xkbVariant = "";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
# Time zone and internationalisation properties.
|
||||||
|
time.timeZone = "Europe/Oslo";
|
||||||
|
i18n.defaultLocale = "en_US.utf8";
|
||||||
|
i18n.extraLocaleSettings.LC_ADDRESS = "nb_NO.utf8";
|
||||||
|
i18n.extraLocaleSettings.LC_IDENTIFICATION = "nb_NO.utf8";
|
||||||
|
i18n.extraLocaleSettings.LC_MEASUREMENT = "nb_NO.utf8";
|
||||||
|
i18n.extraLocaleSettings.LC_MONETARY = "nb_NO.utf8";
|
||||||
|
i18n.extraLocaleSettings.LC_NAME = "nb_NO.utf8";
|
||||||
|
i18n.extraLocaleSettings.LC_NUMERIC = "nb_NO.utf8";
|
||||||
|
i18n.extraLocaleSettings.LC_PAPER = "nb_NO.utf8";
|
||||||
|
i18n.extraLocaleSettings.LC_TELEPHONE = "nb_NO.utf8";
|
||||||
|
i18n.extraLocaleSettings.LC_TIME = "nb_NO.utf8";
|
||||||
|
console.keyMap = "no";
|
||||||
|
services.xserver.layout = "no";
|
||||||
|
services.xserver.xkbVariant = "";
|
||||||
|
}
|
Loading…
Reference in New Issue