packages
This commit is contained in:
parent
d6bdbe514d
commit
dd65a32a60
9 changed files with 115 additions and 68 deletions
23
overhaul/modules/boot/refind.nix
Normal file
23
overhaul/modules/boot/refind.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf mkOption types;
|
||||
cfg = config.horseman.boot.refind;
|
||||
in {
|
||||
options = {
|
||||
horseman.boot.refind = {
|
||||
enable = mkEnableOption "Enables rEFInd, the bootloader";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
refind
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue