1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

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

View file

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