2023-03-04 00:11:46 +01:00
|
|
|
{
|
2023-03-12 05:14:28 +01:00
|
|
|
# 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 = "";
|
|
|
|
|
|
|
|
# no caps lock
|
2023-06-29 03:05:46 +02:00
|
|
|
services.xserver.xkbOptions = "ctrl:nocaps"; # TODO: doesn't work
|
2023-03-12 05:14:28 +01:00
|
|
|
#console.useXkbConfig = true; # applies to ttys aswell, mutex with console.keyMap
|
|
|
|
# run the following to make GNOME reload the xkb options:
|
|
|
|
/*
|
|
|
|
gsettings reset org.gnome.desktop.input-sources xkb-options
|
|
|
|
gsettings reset org.gnome.desktop.input-sources sources
|
|
|
|
*/
|
2023-03-04 00:11:46 +01:00
|
|
|
}
|