mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-10-01 22:44:51 +02:00
50 lines
807 B
Nix
50 lines
807 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
system,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
|
|
imports = [
|
|
./ssh.nix
|
|
];
|
|
environment.systemPackages = with pkgs; [
|
|
curl
|
|
unzip
|
|
kitty.terminfo
|
|
foot.terminfo
|
|
kittysay
|
|
tmux
|
|
fzf
|
|
fastfetch
|
|
dnsutils
|
|
];
|
|
|
|
environment.variables.EDITOR = "nvim";
|
|
programs.fzf.fuzzyCompletion = true;
|
|
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
console = {
|
|
font = "Lat2-Terminus16";
|
|
keyMap = "fr";
|
|
};
|
|
|
|
# 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;
|
|
}
|