2020-04-27 18:27:17 +00:00
|
|
|
{ pkgs, ... }:
|
2020-04-26 15:50:56 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
# 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;
|
|
|
|
|
2020-04-26 15:55:40 +00:00
|
|
|
# Packages which should be installed on every machine.
|
|
|
|
systemPackages = with pkgs; [
|
2020-06-06 14:04:44 +00:00
|
|
|
bandwhich
|
2020-05-24 16:30:08 +00:00
|
|
|
bc
|
2020-04-26 15:55:40 +00:00
|
|
|
byobu
|
|
|
|
dmidecode
|
|
|
|
ethtool
|
|
|
|
gcc
|
|
|
|
go
|
|
|
|
git
|
2020-06-12 20:59:09 +00:00
|
|
|
gnumake
|
2020-04-26 15:55:40 +00:00
|
|
|
htop
|
|
|
|
iftop
|
|
|
|
iperf3
|
|
|
|
jq
|
|
|
|
lm_sensors
|
|
|
|
lshw
|
2020-06-19 12:44:04 +00:00
|
|
|
minicom
|
2020-04-28 13:05:51 +00:00
|
|
|
mkpasswd
|
2020-04-27 19:24:28 +00:00
|
|
|
mtr
|
2020-04-26 15:55:40 +00:00
|
|
|
ndisc6
|
|
|
|
neofetch
|
|
|
|
nethogs
|
|
|
|
nixfmt
|
2020-04-27 18:12:18 +00:00
|
|
|
nix-linter
|
2020-04-26 15:55:40 +00:00
|
|
|
nmap
|
|
|
|
pciutils
|
2020-06-24 18:06:57 +00:00
|
|
|
pkg-config
|
2020-05-18 01:06:48 +00:00
|
|
|
smartmontools
|
2020-04-26 15:55:40 +00:00
|
|
|
tcpdump
|
|
|
|
tmux
|
2020-05-18 01:06:48 +00:00
|
|
|
unixtools.xxd
|
2020-06-19 12:44:04 +00:00
|
|
|
unzip
|
2020-04-26 15:55:40 +00:00
|
|
|
usbutils
|
|
|
|
wget
|
|
|
|
wireguard-tools
|
|
|
|
];
|
2020-04-26 15:50:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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?
|
|
|
|
};
|
|
|
|
}
|