mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-24 10:39:44 +01:00
3c9f432a71
Enforce proper naming: all paths are lowercase and hyphen-separated, if there's a line of models (aspire, macbook-pro, thinkpad) it becomes a subdirectory. Documentation for profiles is moved to README files in respective directories. Add an Org mode table that lists all available profiles and their paths. Instead of fetching repo locally, use a Nix channel. Making hardware profiles read-only should improve quality and amount of participation long-term.
14 lines
323 B
Nix
14 lines
323 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
ipmitool
|
|
];
|
|
|
|
boot.kernelModules = [ "jc42" "ipmi_devintf" "ipmi_si" "tpm_rng" ];
|
|
|
|
# services.cron.systemCronJobs = [
|
|
# # Reset 5-minute watchdog timer every minute
|
|
# "* * * * * ${pkgs.ipmitool}/bin/ipmitool raw 0x30 0x97 1 5"
|
|
# ];
|
|
}
|