2024-02-02 21:07:29 +01:00
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
2023-08-20 00:48:31 +02:00
|
|
|
|
{
|
|
|
|
|
# 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";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
networking.firewall.enable = false;
|
|
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
2024-02-02 21:07:29 +01:00
|
|
|
|
# List packages installed in system profile. To search, run:
|
|
|
|
|
# $ nix search wget
|
2023-08-20 00:48:31 +02:00
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
vim
|
|
|
|
|
git
|
|
|
|
|
];
|
|
|
|
|
|
2024-02-02 21:07:29 +01:00
|
|
|
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
2023-08-20 00:48:31 +02:00
|
|
|
|
users.users.florian = {
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
description = "florian";
|
|
|
|
|
extraGroups = [ "networkmanager" "wheel" ];
|
2024-02-02 21:07:29 +01:00
|
|
|
|
packages = with pkgs; [
|
|
|
|
|
firefox
|
|
|
|
|
kate
|
2024-02-02 22:23:20 +01:00
|
|
|
|
emacs
|
2024-02-02 22:49:08 +01:00
|
|
|
|
vscode nixd vscode-extensions.bbenoist.nix
|
|
|
|
|
slack
|
|
|
|
|
skypeforlinux
|
|
|
|
|
discord
|
|
|
|
|
google-chrome
|
2024-02-02 21:07:29 +01:00
|
|
|
|
# thunderbird
|
|
|
|
|
];
|
2023-08-20 00:48:31 +02:00
|
|
|
|
};
|
2024-02-02 21:07:29 +01:00
|
|
|
|
|
|
|
|
|
# Enable CUPS to print documents.
|
|
|
|
|
services.printing.enable = true;
|
|
|
|
|
|
|
|
|
|
# Enable touchpad support (enabled default in most desktopManager).
|
|
|
|
|
# services.xserver.libinput.enable = true;
|
|
|
|
|
|
|
|
|
|
# Some programs need SUID wrappers, can be configured further or are
|
|
|
|
|
# started in user sessions.
|
|
|
|
|
# programs.mtr.enable = true;
|
|
|
|
|
# programs.gnupg.agent = {
|
|
|
|
|
# enable = true;
|
|
|
|
|
# enableSSHSupport = true;
|
|
|
|
|
# };
|
|
|
|
|
|
|
|
|
|
# List services that you want to enable:
|
|
|
|
|
|
|
|
|
|
# Enable the OpenSSH daemon.
|
|
|
|
|
# services.openssh.enable = true;
|
|
|
|
|
|
|
|
|
|
# Open ports in the firewall.
|
|
|
|
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
|
|
|
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
|
|
|
|
# Or disable the firewall altogether.
|
|
|
|
|
# networking.firewall.enable = false;
|
|
|
|
|
|
|
|
|
|
# This value determines the NixOS release from which the default
|
|
|
|
|
# settings for stateful data, like file locations and database versions
|
|
|
|
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
|
|
|
# this value at the release version of the first install of this system.
|
|
|
|
|
# Before changing this value read the documentation for this option
|
|
|
|
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
|
|
|
system.stateVersion = "23.11"; # Did you read the comment?
|
2023-08-20 15:27:52 +02:00
|
|
|
|
}
|