move efi out of system

This commit is contained in:
waveringana 2025-06-01 23:53:15 -04:00
parent c26dbc38cc
commit 7c4dd94c2e
4 changed files with 9 additions and 3 deletions

7
modules/common/efi.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, config, ... }:
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
fileSystems."/boot".options = [ "umask=0077" ];
}