Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS rEFInd module

This is a NixOS module to install and configure the rEFInd bootloader completely from nixOS including themes.

options

boot.loader.refind.enable
Type types.bool
Default false
Description Whether to enable the refind EFI boot manager
boot.loader.refind.maxGenerations
Type types.int
Default 100
Description Maximum number of generations in submenu. This is to avoid problems with refind or possible size problems with the config
boot.loader.refind.extraIcons
Type types.nullOr types.path;
Defalt 100
Description A directory containing icons to be copied to 'extra-icons'
boot.loader.refind.themes
Type types.listOf types.path;
Defalt []
Description A list of theme paths to copy
boot.loader.refind.extraConfig
Type types.lines
Defalt ""
Description Extra configuration text appended to refind.conf

Example Configuration

{
    boot.loader = {
        efi = {
            efiSysMountPoint = "/boot/efi";
            cantouchEfiVariables = true;
        };
        refind = {
            enable = true;
            maxGenerations = 10;
        };
    };
}

boot.loader.efi.cantouchEfiVariables must be enabled for refind to install correctly with boot.loader.efi.efiSysMountPoint correctly pointing to the esp mount point.

Credits

betaboon made the original nixos-module for rEFInd on his gist which is the base for this module. Most of this codebase is his code but updated to work on latest nixpkgs-unstable

About

NixOS module for the rEFInd boot loader

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages