mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-18 15:34:13 +01:00
17 lines
411 B
Nix
17 lines
411 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";
|
|
};
|
|
|
|
# for power management
|
|
services = {
|
|
power-profiles-daemon = {
|
|
enable = true;
|
|
};
|
|
upower.enable = true;
|
|
};
|
|
}
|