diff --git a/flake.nix b/flake.nix index 619f415..8df1cb0 100644 --- a/flake.nix +++ b/flake.nix @@ -27,6 +27,8 @@ outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs: }; specialArgs = { + inherit inputs outputs lib; + # By default, the system will only use packages from the # stable channel. You can selectively install packages # from the unstable channel. You can also add more @@ -59,6 +61,7 @@ outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs: ]; }; in { + # Output all modules in ./modules to flake. Modules should be in # individual subdirectories and contain a default.nix file nixosModules = builtins.listToAttrs (map @@ -68,9 +71,8 @@ outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs: }) (builtins.attrNames (builtins.readDir ./modules/nixos))); - ##import our HM modules - ## -- imported in ./home-manger/general - + # Output all modules in ./modules to flake. Modules should be in + # individual subdirectories and contain a default.nix file homeManagerModules = builtins.listToAttrs (map (name: { inherit name;