Fails with: "error: ix has been removed from Nixpkgs, as the ix.io pastebin has been offline since Dec. 2023". Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
38 lines
768 B
Nix
38 lines
768 B
Nix
{ pkgs, config, ... }:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
vim wget git htop tmux pciutils tcpdump ripgrep nix-index nixos-option
|
|
nix-diff ipmitool freeipmi ethtool lm_sensors cmake gnumake file tree
|
|
ncdu config.boot.kernelPackages.perf ldns pv
|
|
# From bsckgs overlay
|
|
osumb
|
|
];
|
|
|
|
programs.direnv.enable = true;
|
|
|
|
# Increase limits
|
|
security.pam.loginLimits = [
|
|
{
|
|
domain = "*";
|
|
type = "-";
|
|
item = "memlock";
|
|
value = "1048576"; # 1 GiB of mem locked
|
|
}
|
|
];
|
|
|
|
environment.enableAllTerminfo = true;
|
|
|
|
environment.variables = {
|
|
EDITOR = "vim";
|
|
VISUAL = "vim";
|
|
};
|
|
|
|
programs.bash.promptInit = ''
|
|
PS1="\h\\$ "
|
|
'';
|
|
|
|
time.timeZone = "Europe/Madrid";
|
|
i18n.defaultLocale = "en_DK.UTF-8";
|
|
}
|