mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
21 lines
592 B
Nix
21 lines
592 B
Nix
{
|
|
description = "Description for the project";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs = { self, nixpkgs, ... }: {
|
|
nixosModules.disko = import ./module.nix;
|
|
lib = import ./. {
|
|
inherit (nixpkgs) lib;
|
|
};
|
|
checks.x86_64-linux = let
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
in
|
|
# Run tests: nix flake check -L
|
|
import ./tests {
|
|
inherit pkgs;
|
|
makeTest = import (pkgs.path + "/nixos/tests/make-test-python.nix");
|
|
eval-config = import (pkgs.path + "/nixos/lib/eval-config.nix");
|
|
};
|
|
};
|
|
}
|