flake.nix: add nixosModule and darwinModule to outputs (#1858)

This commit is contained in:
Naïm Favier 2021-03-17 02:19:01 +01:00 committed by GitHub
parent b42d987ad9
commit 920ea74afe
Failed to generate hash of commit

View file

@ -3,8 +3,10 @@
outputs = { self, nixpkgs }: rec {
nixosModules.home-manager = import ./nixos;
nixosModule = self.nixosModules.home-manager;
darwinModules.home-manager = import ./nix-darwin;
darwinModule = self.darwinModules.home-manager;
lib = {
hm = import ./modules/lib { lib = nixpkgs.lib; };