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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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; };