45 lines
938 B
Nix
45 lines
938 B
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
# Set your time zone.
|
||
|
time.timeZone = "Europe/Paris";
|
||
|
|
||
|
# Select internationalisation properties.
|
||
|
i18n.defaultLocale = "fr_FR.UTF-8";
|
||
|
|
||
|
i18n.extraLocaleSettings = {
|
||
|
LC_ADDRESS = "fr_FR.UTF-8";
|
||
|
LC_IDENTIFICATION = "fr_FR.UTF-8";
|
||
|
LC_MEASUREMENT = "fr_FR.UTF-8";
|
||
|
LC_MONETARY = "fr_FR.UTF-8";
|
||
|
LC_NAME = "fr_FR.UTF-8";
|
||
|
LC_NUMERIC = "fr_FR.UTF-8";
|
||
|
LC_PAPER = "fr_FR.UTF-8";
|
||
|
LC_TELEPHONE = "fr_FR.UTF-8";
|
||
|
LC_TIME = "fr_FR.UTF-8";
|
||
|
};
|
||
|
|
||
|
# Configure keymap in X11
|
||
|
services.xserver = {
|
||
|
layout = "us";
|
||
|
xkbVariant = "altgr-intl";
|
||
|
};
|
||
|
|
||
|
# Configure console keymap
|
||
|
console.keyMap = "us";
|
||
|
|
||
|
networking.firewall.enable = false;
|
||
|
|
||
|
nixpkgs.config.allowUnfree = true;
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
vim
|
||
|
git
|
||
|
];
|
||
|
|
||
|
users.users.florian = {
|
||
|
isNormalUser = true;
|
||
|
description = "florian";
|
||
|
extraGroups = [ "networkmanager" "wheel" ];
|
||
|
};
|
||
|
}
|