Files
Nixos/modules/system/options/nixos/systemd-boot.nix
T

18 lines
341 B
Nix

{ lib, config, ... }:
with lib;
let
cfg = config.os.boot.systemd;
in
{
options.os.boot.systemd = {
enable = mkEnableOption "Boot systemd service";
};
config = mkIf cfg.enable {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.consoleMode = "max";
};
}