nixos-config/common/boot.nix
Christoph Heiss 95a966b279
machines: fort: Switch from ARM64 back to x86_64 machine
While it /works/ and I'd love to use the Ampere machine, cross-arch
deployment (with morph, in particular) is still too big of a PITA to
actually be worth it.

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-07-29 18:40:46 +02:00

15 lines
322 B
Nix

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