diff --git a/flake.nix b/flake.nix index a12f520..1fe08df 100644 --- a/flake.nix +++ b/flake.nix @@ -17,6 +17,12 @@ (super: self: { config-archive = super.callPackage ./lib/pkgs/config-archive.nix { }; }) ]; }; + + forAllSystems = function: + nixpkgs.lib.genAttrs [ + "x86_64-linux" + "aarch64-darwin" + ] (system: function nixpkgs.legacyPackages.${system}); in { @@ -30,5 +36,11 @@ ]; }; }; + + devShells = forAllSystems (pkgs: { + default = pkgs.mkShell { + buildInputs = [ pkgs.nixos-rebuild ]; + }; + }); }; -} \ No newline at end of file +}