mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
9746f3547b
Signed-off-by: Matt Layher <mdlayher@gmail.com>
66 lines
1.3 KiB
Nix
66 lines
1.3 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;
|
|
|
|
# Assume all NixOS machines are headless.
|
|
# TODO: factor out if I ever switch my desktop.
|
|
noXlibs = true;
|
|
|
|
# Packages which should be installed on every machine.
|
|
systemPackages = with pkgs; [
|
|
bc
|
|
byobu
|
|
dmidecode
|
|
ethtool
|
|
gcc
|
|
go
|
|
git
|
|
htop
|
|
iftop
|
|
iperf3
|
|
jq
|
|
lm_sensors
|
|
lshw
|
|
mkpasswd
|
|
mtr
|
|
ndisc6
|
|
neofetch
|
|
nethogs
|
|
nixfmt
|
|
nix-linter
|
|
nmap
|
|
pciutils
|
|
smartmontools
|
|
tcpdump
|
|
tmux
|
|
unixtools.xxd
|
|
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?
|
|
};
|
|
}
|