dotfiles/modules/boot_systemd/flake.nix
2024-12-23 23:43:19 -06:00

38 lines
659 B
Nix

{
inputs = {
};
outputs =
{
self,
...
}:
{
nixosModules = {
default =
{
config,
lib,
...
}:
{
options = {
};
config = {
# Use the systemd-boot EFI boot loader.
boot.loader = {
systemd-boot = {
enable = true;
consoleMode = "keep";
};
timeout = 5;
efi = {
canTouchEfiVariables = true;
};
};
};
};
};
};
}