My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/flake.nix

42 lines
1.0 KiB

5 years ago
{
5 years ago
edition = 201909;
5 years ago
description = "A collection of packages for the Nix package manager";
outputs = { self }:
let
jobs = import ./pkgs/top-level/release.nix {
nixpkgs = self;
};
lib = import ./lib;
in
5 years ago
{
lib = lib // {
nixosSystem = { modules, ... } @ args:
import ./nixos/lib/eval-config.nix (args // {
modules = modules ++
[ { system.nixos.versionSuffix =
".${lib.substring 0 8 self.lastModified}.${self.shortRev}";
system.nixos.revision = self.rev;
}
];
});
};
5 years ago
checks.tarball = jobs.tarball;
htmlDocs = {
nixpkgsManual = jobs.manual;
nixosManual = (import ./nixos/release-small.nix {
nixpkgs = self;
}).nixos.manual.x86_64-linux;
};
legacyPackages = import ./. { system = "x86_64-linux"; };
nixosModules = {
notDetected = ./nixos/modules/installer/scan/not-detected.nix;
};
5 years ago
};
}