mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
22 lines
390 B
Nix
22 lines
390 B
Nix
{ ... }:
|
|
{
|
|
flake.nixosModules.common-boot =
|
|
{ pkgs, ... }:
|
|
{
|
|
environment.systemPackages = [ pkgs.efibootmgr ];
|
|
|
|
boot.loader = {
|
|
timeout = 5;
|
|
efi = {
|
|
canTouchEfiVariables = false;
|
|
efiSysMountPoint = "/boot";
|
|
};
|
|
|
|
systemd-boot = {
|
|
enable = true;
|
|
configurationLimit = 5;
|
|
};
|
|
};
|
|
};
|
|
}
|