@@ -88,16 +88,16 @@ def remove_old_entries(gens):
8888 if not path in known_paths:
8989 os.unlink(path)
9090
91−parser = argparse.ArgumentParser(description='Update NixOS-related gummiboot files')
91+parser = argparse.ArgumentParser(description='Update NixOS-related systemd-boot files')
9292parser.add_argument('default_config', metavar='DEFAULT-CONFIG', help='The default NixOS config to boot')
9393args = parser.parse_args()
9494
9595# We deserve our own env var!
9696if os.getenv("NIXOS_INSTALL_GRUB") == "1":
9797 if "@canTouchEfiVariables@" == "1":
98− subprocess.check_call(["@gummiboot@/bin/gummiboot", "--path=@efiSysMountPoint@", "install"])
98+ subprocess.check_call(["@systemd@/bin/bootctl", "--path=@efiSysMountPoint@", "install"])
9999 else:
100− subprocess.check_call(["@gummiboot@/bin/gummiboot", "--path=@efiSysMountPoint@", "--no-variables", "install"])
100+ subprocess.check_call(["@systemd@/bin/bootctl", "--path=@efiSysMountPoint@", "--no-variables", "install"])
101101
102102mkdir_p("@efiSysMountPoint@/efi/nixos")
103103mkdir_p("@efiSysMountPoint@/loader/entries")