mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 09:09:45 +01:00
9550595502
This simplifies the code a bit and avoids using experimental Flake functionality. If Flakes become stable before NixOS 22.11 then we can consider having nmd and nmt as Flake inputs. Maybe could then also avoid the need for flake-compat.
19 lines
454 B
Nix
19 lines
454 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
rec {
|
|
docs = with import ./docs { inherit pkgs; }; {
|
|
html = manual.html;
|
|
manPages = manPages;
|
|
json = options.json;
|
|
jsonModuleMaintainers = jsonModuleMaintainers; # Unstable, mainly for CI.
|
|
};
|
|
|
|
home-manager = pkgs.callPackage ./home-manager { path = toString ./.; };
|
|
|
|
install =
|
|
pkgs.callPackage ./home-manager/install.nix { inherit home-manager; };
|
|
|
|
nixos = import ./nixos;
|
|
|
|
path = ./.;
|
|
}
|