From ec92a894c7c66273b24048d13c1e36fc732e2b34 Mon Sep 17 00:00:00 2001 From: chaos Date: Fri, 8 Sep 2023 11:00:47 +0100 Subject: [PATCH] update flake to be more compliant with schema --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index a54e7e6..451458c 100644 --- a/flake.nix +++ b/flake.nix @@ -17,10 +17,10 @@ ... }: { - nixosModules."piped" = import ./module/default.nix; + nixosModules.piped = import ./module/default.nix; nixosModules.default = self.nixosModules.piped; - overlay = final: prev: { + overlays.piped = final: prev: { piped-frontend = final.callPackage ./packages/frontend {}; piped-backend = final.callPackage ./packages/backend { jre = final.openjdk19_headless; @@ -28,6 +28,7 @@ }; piped-proxy = final.callPackage ./packages/proxy {}; }; + overlays.default = self.overlays.piped; } // utils.lib.eachSystem (utils.lib.defaultSystems) (system: let pkgs = import nixpkgs {