-{ config, pkgs, lib, ... }:
+{ config, lib, ... }:
{
-time.timeZone = lib.mkDefault "Europe/Paris";
-i18n.defaultLocale = "fr_FR.UTF-8";
-console.font = "Lat2-Terminus16";
-console.keyMap = lib.mkDefault "fr";
-services.xserver = {
- layout = "fr";
- xkbOptions = "eurosign:e";
- libinput.enable = true;
-};
+ environment.variables = {
+ TZ = "Europe/Paris";
+ };
+ time.timeZone = lib.mkDefault "Europe/Paris";
+ i18n.defaultLocale = "fr_FR.UTF-8";
+ console.font = "Lat2-Terminus16";
+ console.keyMap = lib.mkDefault "fr";
+ services.xserver = {
+ layout = lib.mkDefault "fr";
+ xkbOptions = "eurosign:e, compose:menu, grp:alt_space_toggle";
+ libinput.enable = config.services.xserver.enable;
+ };
}