🧑💻 Zed editor and nil ls, refactored locales
This commit is contained in:
parent
573f2c459e
commit
5a4bc7ce31
@ -6,6 +6,7 @@
|
|||||||
jetbrains.rust-rover
|
jetbrains.rust-rover
|
||||||
jetbrains.webstorm
|
jetbrains.webstorm
|
||||||
vscodium # TODO set up extensions
|
vscodium # TODO set up extensions
|
||||||
|
zed-editor
|
||||||
# Tools
|
# Tools
|
||||||
git
|
git
|
||||||
rustup
|
rustup
|
||||||
@ -14,6 +15,7 @@
|
|||||||
gcc # Required for C, Rust and others
|
gcc # Required for C, Rust and others
|
||||||
# Language servers
|
# Language servers
|
||||||
nixd
|
nixd
|
||||||
|
nil
|
||||||
# Formatters
|
# Formatters
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
treefmt
|
treefmt
|
||||||
|
@ -1,27 +1,32 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
# TODO move locale config for hyprland here
|
# TODO move locale config for hyprland here
|
||||||
|
let
|
||||||
|
utf-8 = "UTF-8";
|
||||||
|
en = "en_GB.${utf-8}";
|
||||||
|
nb = "nb_NO.${utf-8}";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
# Configure console keymap
|
# Configure console keymap
|
||||||
console.keyMap = "uk";
|
console.keyMap = "uk";
|
||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_GB.UTF-8";
|
defaultLocale = en;
|
||||||
supportedLocales = [
|
supportedLocales = [
|
||||||
"en_GB.UTF-8/UTF-8"
|
"${en}/${utf-8}"
|
||||||
"nb_NO.UTF-8/UTF-8"
|
"${nb}/${utf-8}"
|
||||||
];
|
];
|
||||||
extraLocaleSettings = {
|
extraLocaleSettings = {
|
||||||
LC_ADDRESS = "nb_NO.UTF-8";
|
LC_ADDRESS = nb;
|
||||||
LC_IDENTIFICATION = "nb_NO.UTF-8";
|
LC_IDENTIFICATION = nb;
|
||||||
LC_MEASUREMENT = "nb_NO.UTF-8";
|
LC_MEASUREMENT = nb;
|
||||||
LC_MONETARY = "nb_NO.UTF-8";
|
LC_MONETARY = nb;
|
||||||
LC_NAME = "nb_NO.UTF-8";
|
LC_NAME = nb;
|
||||||
LC_NUMERIC = "nb_NO.UTF-8";
|
LC_NUMERIC = nb;
|
||||||
LC_PAPER = "nb_NO.UTF-8";
|
LC_PAPER = nb;
|
||||||
LC_TELEPHONE = "nb_NO.UTF-8";
|
LC_TELEPHONE = nb;
|
||||||
LC_TIME = "nb_NO.UTF-8";
|
LC_TIME = nb;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user