diff --git a/ops/nixos/default.nix b/ops/nixos/default.nix index 28f87f2573..ff2703c494 100644 --- a/ops/nixos/default.nix +++ b/ops/nixos/default.nix @@ -66,5 +66,5 @@ in systemDrvs // { netboot = netbootSystem.config.system.build.pixiecore; - systemPathJSON = builtins.toFile "systems.json" (builtins.toJSON systemDrvs); + systemPathJSON = pkgs.writeText "systems.json" (builtins.toJSON systemDrvs); }