All my system configs and packages in one repo
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

flake: add packages and overlay output

+14 -4
+14 -4
flake.nix
··· 101 101 treefmt-nix.url = "github:numtide/treefmt-nix"; 102 102 }; 103 103 104 - outputs = 105 - inputs: 104 + outputs = inputs: 105 + let 106 + packages' = pkgs': pkgs'.lib.packagesFromDirectoryRecursive { 107 + inherit (pkgs') callPackage; 108 + directory = ./packages; 109 + }; 110 + in 106 111 inputs.flake-parts.lib.mkFlake { inherit inputs; } { 107 112 imports = [ 108 113 ./hm-modules 109 - ./packages 110 114 ./systems 111 115 ]; 112 - systems = [ "x86_64-linux" ]; 116 + systems = [ "x86_64-linux" "x86_64-darwin" ]; 117 + 118 + flake.overlays.default = _: packages'; 119 + 120 + perSystem = { pkgs, ... }: { 121 + packages = packages' pkgs; 122 + }; 113 123 114 124 # perSystem = 115 125 # { pkgs, ... }: