mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-19 02:46:06 -07:00
12 lines
326 B
Nix
12 lines
326 B
Nix
{ config, pkgs, user, lib, inputs, ... }:
|
|
|
|
let cfg = config.modules.physical;
|
|
in {
|
|
options.modules.physical.enable = lib.mkEnableOption "physical";
|
|
config = lib.mkIf cfg.enable {
|
|
# use the systemd-boot EFI boot loader
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
};
|
|
}
|