mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-17 07:44:41 +04:00
add server
This commit is contained in:
parent
284b131058
commit
95f65d9c03
18 changed files with 358 additions and 112 deletions
17
nix/hardware/efiGrub.nix
Normal file
17
nix/hardware/efiGrub.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ pkgs
|
||||
, config
|
||||
, lib
|
||||
, inputs
|
||||
, rootPath
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.kp2pml30.boot;
|
||||
in lib.mkIf cfg.efiGrub {
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
devices = [ "nodev" ];
|
||||
efiSupport = true;
|
||||
useOSProber = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue