1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00
mdlayher-homelab/nixos/lib/system.nix
Matt Layher 325f564434
nixos/lib: remove noXlibs due to strange problems
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-25 17:55:04 -04:00

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?
};
}