Compare commits
3 commits
e3fe1566a4
...
7e0a707db5
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e0a707db5 | |||
| 62a2fda287 | |||
| d3067f9547 |
4 changed files with 25 additions and 46 deletions
|
|
@ -26,19 +26,10 @@
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
time.timeZone = "Europe/Madrid";
|
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
||||||
# Select internationalisation properties.
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
console = {
|
|
||||||
keyMap = "es";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,33 +32,6 @@
|
||||||
nameservers = [ "8.8.8.8" ];
|
nameservers = [ "8.8.8.8" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
time.timeZone = "Europe/Madrid";
|
|
||||||
|
|
||||||
# Select internationalisation properties.
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
|
|
||||||
i18n.extraLocaleSettings = {
|
|
||||||
LC_ADDRESS = "es_ES.UTF-8";
|
|
||||||
LC_IDENTIFICATION = "es_ES.UTF-8";
|
|
||||||
LC_MEASUREMENT = "es_ES.UTF-8";
|
|
||||||
LC_MONETARY = "es_ES.UTF-8";
|
|
||||||
LC_NAME = "es_ES.UTF-8";
|
|
||||||
LC_NUMERIC = "es_ES.UTF-8";
|
|
||||||
LC_PAPER = "es_ES.UTF-8";
|
|
||||||
LC_TELEPHONE = "es_ES.UTF-8";
|
|
||||||
LC_TIME = "es_ES.UTF-8";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Configure keymap in X11
|
|
||||||
services.xserver = {
|
|
||||||
layout = "es";
|
|
||||||
xkbVariant = "";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Configure console keymap
|
|
||||||
console.keyMap = "es";
|
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.toast = {
|
users.users.toast = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
|
||||||
|
|
@ -26,19 +26,10 @@
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
time.timeZone = "Europe/Madrid";
|
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
||||||
# Select internationalisation properties.
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
console = {
|
|
||||||
keyMap = "es";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,30 @@
|
||||||
cleanOnBoot = !config.boot.tmp.useTmpfs;
|
cleanOnBoot = !config.boot.tmp.useTmpfs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Set up keyboard layout
|
||||||
|
services.xserver.layout = "es";
|
||||||
|
# Make the console use X's keyboard configuration
|
||||||
|
console.useXkbConfig = true;
|
||||||
|
|
||||||
|
# Set up localisation
|
||||||
|
i18n = {
|
||||||
|
defaultLocale = "en_US.UTF-8";
|
||||||
|
extraLocaleSettings = {
|
||||||
|
LC_NUMERIC = "es_ES.UTF-8";
|
||||||
|
# am/pm is nice but mm/dd/yy is yucky
|
||||||
|
LC_TIME = "es_US.UTF-8";
|
||||||
|
LC_MONETARY = "es_ES.UTF-8";
|
||||||
|
LC_MEASUREMENT = "es_ES.UTF-8";
|
||||||
|
LC_PAPER = "es_ES.UTF-8";
|
||||||
|
LC_ADDRESS = "es_US.UTF-8";
|
||||||
|
LC_NAME = "es_ES.UTF-8";
|
||||||
|
LC_TELEPHONE = "es_ES.UTF-8";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Set up time zone.
|
||||||
|
time.timeZone = "Europe/Madrid";
|
||||||
|
|
||||||
# Set up secrets
|
# Set up secrets
|
||||||
age = {
|
age = {
|
||||||
identityPaths = [
|
identityPaths = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue