mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
325f564434
Signed-off-by: Matt Layher <mdlayher@gmail.com>
67 lines
1.2 KiB
Nix
67 lines
1.2 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Console configuration.
|
|
console = {
|
|
font = "Lat2-Terminus16";
|
|
keyMap = "us";
|
|
};
|
|
|
|
# Locale and time.
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
time.timeZone = "America/Detroit";
|
|
|
|
environment = {
|
|
# Put ~/bin in PATH.
|
|
homeBinInPath = true;
|
|
|
|
# Packages which should be installed on every machine.
|
|
systemPackages = with pkgs; [
|
|
bandwhich
|
|
bc
|
|
byobu
|
|
dmidecode
|
|
ethtool
|
|
gcc
|
|
go
|
|
git
|
|
gnumake
|
|
htop
|
|
iftop
|
|
iperf3
|
|
jq
|
|
lm_sensors
|
|
lshw
|
|
minicom
|
|
mkpasswd
|
|
mtr
|
|
ndisc6
|
|
neofetch
|
|
nethogs
|
|
nixfmt
|
|
nix-linter
|
|
nmap
|
|
pciutils
|
|
pkg-config
|
|
smartmontools
|
|
tcpdump
|
|
tmux
|
|
unixtools.xxd
|
|
unzip
|
|
usbutils
|
|
wget
|
|
wireguard-tools
|
|
];
|
|
};
|
|
|
|
system = {
|
|
# Automatic upgrades.
|
|
autoUpgrade = { enable = true; };
|
|
|
|
# This value determines the NixOS release with which your system is to be
|
|
# compatible, in order to avoid breaking some software such as database
|
|
# servers. You should change this only after NixOS release notes say you
|
|
# should.
|
|
stateVersion = "20.03"; # Did you read the comment?
|
|
};
|
|
}
|