Files
nix-config/modules/nixos/base/core.nix
2024-08-26 20:56:45 +08:00

19 lines
499 B
Nix

{lib, ...}: {
boot.loader.systemd-boot = {
# we use Git for version control, so we don't need to keep too many generations.
configurationLimit = lib.mkDefault 10;
# pick the highest resolution for systemd-boot's console.
consoleMode = lib.mkDefault "max";
};
boot.loader.timeout = lib.mkDefault 8; # wait for x seconds to select the boot entry
# for power management
services = {
power-profiles-daemon = {
enable = true;
};
upower.enable = true;
};
}