formatting

This commit is contained in:
twoneis 2024-01-17 13:54:33 +01:00
parent c1a1012cb0
commit 4484d480b8

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ pkgs, lib, config, ... }: { { pkgs, lib, ... }: {
options = { options = {
withNiri = with lib; mkEnableOption "Enable niri"; withNiri = with lib; mkEnableOption "Enable niri";
withGnome = with lib; mkEnableOption "Enable gnome"; withGnome = with lib; mkEnableOption "Enable gnome";
@ -47,28 +47,26 @@
time.timeZone = "Europe/Amsterdam"; time.timeZone = "Europe/Amsterdam";
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8"; i18n = {
defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = { extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8"; LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8"; LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8"; LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8"; LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8"; LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8"; LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8"; LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8"; LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8";
};
}; };
# Enable the X11 windowing system. # Configure xserver
services.xserver.enable = true;
# Remove XTerm
services.xserver.excludePackages = [ pkgs.xterm ];
# Configure keymap in X11
services.xserver = { services.xserver = {
enable = true;
excludePackages = [ pkgs.xterm ];
layout = "us"; layout = "us";
xkbVariant = ""; xkbVariant = "";
}; };