diff --git a/nixos/features/systemd-boot.nix b/nixos/features/systemd-boot.nix index 76682d2..ab76819 100644 --- a/nixos/features/systemd-boot.nix +++ b/nixos/features/systemd-boot.nix @@ -1,5 +1,5 @@ -{ pkgs, config, system, ... }: let - canTouchEfiVariables = system.hostPlatform != "aarch64-linux"; +{ pkgs, config, ... }: let + canTouchEfiVariables = config.system.hostPlatform != "aarch64-linux"; in { boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = canTouchEfiVariables;