moved locale to settings
This commit is contained in:
parent
8377a0b8b7
commit
6ef625239c
|
@ -27,37 +27,24 @@ in
|
|||
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Berlin";
|
||||
# Set your time zone.
|
||||
time.timeZone = settings.system.timeZone;
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "de_DE.UTF-8";
|
||||
LC_IDENTIFICATION = "de_DE.UTF-8";
|
||||
LC_MEASUREMENT = "de_DE.UTF-8";
|
||||
LC_MONETARY = "de_DE.UTF-8";
|
||||
LC_NAME = "de_DE.UTF-8";
|
||||
LC_NUMERIC = "de_DE.UTF-8";
|
||||
LC_PAPER = "de_DE.UTF-8";
|
||||
LC_TELEPHONE = "de_DE.UTF-8";
|
||||
LC_TIME = "de_DE.UTF-8";
|
||||
};
|
||||
|
||||
services.rpcbind.enable = true; # needed for NFS
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = settings.system.defaultLocale;
|
||||
i18n.extraLocaleSettings = settings.system.extraLocales;
|
||||
|
||||
programs.partition-manager.enable = true;
|
||||
|
||||
# use bash shell for other users
|
||||
environment.shells = with pkgs; [ bash ];
|
||||
# use bash shell for other users
|
||||
environment.shells = with pkgs; [ bash ];
|
||||
|
||||
# Configure console keymap
|
||||
console.keyMap = "de";
|
||||
# Configure console keymap
|
||||
console.keyMap = settings.system.ttykeymap;
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = (with pkgs; [
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = (with pkgs; [
|
||||
|
||||
devbox
|
||||
ffmpeg-full
|
||||
|
|
17
settings.nix
17
settings.nix
|
@ -2,6 +2,23 @@ with import <nixpkgs> {};
|
|||
{
|
||||
stateVersion = "23.11";
|
||||
|
||||
system = {
|
||||
ttykeymap = "de";
|
||||
timeZone = "Europe/Berlin";
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
extraLocales = {
|
||||
LC_ADDRESS = "de_DE.UTF-8";
|
||||
LC_IDENTIFICATION = "de_DE.UTF-8";
|
||||
LC_MEASUREMENT = "de_DE.UTF-8";
|
||||
LC_MONETARY = "de_DE.UTF-8";
|
||||
LC_NAME = "de_DE.UTF-8";
|
||||
LC_NUMERIC = "en_US.UTF-8";
|
||||
LC_PAPER = "de_DE.UTF-8";
|
||||
LC_TELEPHONE = "de_DE.UTF-8";
|
||||
LC_TIME = "de_DE.UTF-8";
|
||||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
# support for GPUs
|
||||
amdgpu = true;
|
||||
|
|
Loading…
Reference in New Issue