network/nix/nixos-module/server/defaults.nix

26 lines
455 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
boot.kernelModules = [ "kvm-intel" "pppoe" ];
boot.kernelParams = [ "nomodeset" ];
hardware.cpu.intel.updateMicrocode = true;
time.timeZone = "Europe/Berlin";
environment.systemPackages = with pkgs; [
2023-06-01 21:35:27 +02:00
git
ipmitool
2023-06-01 21:35:27 +02:00
screen
vim
wget
];
2023-06-01 21:35:27 +02:00
services.openssh = {
enable = true;
permitRootLogin = "prohibit-password";
};
2023-06-01 21:35:27 +02:00
# additional config for bare metal
services.collectd.plugins.ipmi = "";
}