nixos-config/common/boot.nix
Christoph Heiss df9b15996d
machines: Add 'name'
Runs blocky + unbound for custom DNS.
Also adds all the common nix infrastructure needed.

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-04-01 22:20:34 +02:00

15 lines
304 B
Nix

{ config, lib, ... }:
{
boot.tmpOnTmpfs = true;
boot.loader.timeout = lib.mkForce 1;
boot.loader.systemd-boot = {
enable = !config.boot.isContainer;
configurationLimit = 2;
consoleMode = "max";
editor = false;
};
powerManagement.cpuFreqGovernor = lib.mkDefault "schedutil";
}