Christoph Heiss
df9b15996d
Runs blocky + unbound for custom DNS. Also adds all the common nix infrastructure needed. Signed-off-by: Christoph Heiss <christoph@c8h4.io>
15 lines
304 B
Nix
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";
|
|
}
|