17 lines
		
	
	
	
		
			272 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			272 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, config, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  cfg = config.systemModules.bootloader.systemd;
 | 
						|
in
 | 
						|
 | 
						|
{
 | 
						|
  config = lib.mkIf cfg.enable {
 | 
						|
    boot.loader = {
 | 
						|
      systemd-boot = {
 | 
						|
        enable = true;
 | 
						|
        consoleMode = "max";
 | 
						|
      };
 | 
						|
      efi.canTouchEfiVariables = true;
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |