1
1
mirror of https://github.com/divnix/digga.git synced 2024-11-27 17:36:06 +03:00

flake#nixosModules: add binary cache as module

This commit is contained in:
Timothy DeHerrera 2020-07-26 16:03:51 -06:00
parent 1dddafdfcf
commit 1373380a91
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122

View File

@ -50,9 +50,13 @@
overlayPaths = map fullPath (attrNames (readDir overlayDir));
in pathsToImportedAttrs overlayPaths;
packages.x86_64-linux = self.overlay pkgs pkgs;
packages."${system}" = self.overlay pkgs pkgs;
nixosModules = let
# binary cache
cachix = import ./cachix.nix;
cachixAttrs = { inherit cachix; };
# modules
moduleList = import ./modules/list.nix;
modulesAttrs = pathsToImportedAttrs moduleList;
@ -61,6 +65,6 @@
profilesList = import ./profiles/list.nix;
profilesAttrs = { profiles = pathsToImportedAttrs profilesList; };
in modulesAttrs // profilesAttrs;
in cachixAttrs // modulesAttrs // profilesAttrs;
};
}