2020-02-02 00:39:17 +01:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
2017-10-21 20:51:28 +02:00
|
|
|
|
2022-06-07 20:45:06 +02:00
|
|
|
let
|
|
|
|
|
|
|
|
flake = (import
|
|
|
|
(let lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
|
|
|
in fetchTarball {
|
|
|
|
url =
|
|
|
|
"https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
|
|
|
|
sha256 = lock.nodes.flake-compat.locked.narHash;
|
|
|
|
}) { src = ./.; }).defaultNix;
|
|
|
|
|
|
|
|
in rec {
|
2021-08-17 19:28:04 +02:00
|
|
|
docs = with import ./docs { inherit pkgs; }; {
|
2020-06-06 22:08:02 +02:00
|
|
|
html = manual.html;
|
|
|
|
manPages = manPages;
|
|
|
|
json = options.json;
|
2021-12-29 10:15:39 +01:00
|
|
|
jsonModuleMaintainers = jsonModuleMaintainers; # Unstable, mainly for CI.
|
2020-06-06 22:08:02 +02:00
|
|
|
};
|
|
|
|
|
2020-02-02 00:39:17 +01:00
|
|
|
home-manager = pkgs.callPackage ./home-manager { path = toString ./.; };
|
2017-10-21 20:51:28 +02:00
|
|
|
|
2020-02-02 00:39:17 +01:00
|
|
|
install =
|
|
|
|
pkgs.callPackage ./home-manager/install.nix { inherit home-manager; };
|
2017-10-14 20:56:02 +02:00
|
|
|
|
|
|
|
nixos = import ./nixos;
|
2020-05-21 21:45:42 +02:00
|
|
|
|
|
|
|
path = ./.;
|
2022-06-07 20:45:06 +02:00
|
|
|
|
|
|
|
inherit (flake) inputs;
|
2017-10-21 20:51:28 +02:00
|
|
|
}
|