move the canTouchEfiVars into the right place

This commit is contained in:
colin 2022-06-23 16:26:46 -07:00
parent c6f2eaca45
commit ac050ac390
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,6 @@
# colinsane.gui.sway.enable = true;
colinsane.impermanence.enable = true;
colinsane.extlinux.enable = true;
boot.loader.efi.canTouchEfiVariables = false;
# docs: https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion
system.stateVersion = "21.05";

View File

@ -20,6 +20,8 @@ in
};
config = mkIf cfg.enable {
# XXX: i'm not 100% sure this is true. i saw some errors related to reading EFI vars though.
boot.loader.efi.canTouchEfiVariables = false;
system.build.installBootLoader = let
dtCfg = config.hardware.deviceTree;
builderArgs = "-g 20 -t 5"