nix-config/shared/default.nix
2025-04-12 12:56:48 +02:00

44 lines
755 B
Nix

{
pkgs,
inputs,
system,
lib,
...
}:
{
environment.systemPackages = [
pkgs.curl
pkgs.unzip
pkgs.kitty.terminfo
pkgs.foot.terminfo
pkgs.kittysay
pkgs.tmux
];
environment.variables.EDITOR = "nvim";
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
console = {
font = "Lat2-Terminus16";
keyMap = "fr";
};
services.tailscale.enable = true;
# Set your time zone.
time.timeZone = lib.mkDefault "Europe/Paris";
i18n.defaultLocale = "fr_FR.UTF-8";
# reducing disk usage
boot.loader.systemd-boot.configurationLimit = 10;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 1w";
};
nix.settings.auto-optimise-store = true;
}