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