forked from fediversity/fediversity
23 lines
582 B
Nix
23 lines
582 B
Nix
{
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
let
|
|
inherit (pkgs) system lib;
|
|
sources = import ../../../npins;
|
|
inherit (import "${sources.flake-inputs}/lib.nix") import-flake;
|
|
inputs = lib.mapAttrs (_: import-flake) sources;
|
|
inherit (inputs) proxmox-nixos;
|
|
overlay = proxmox-nixos.overlays.${system};
|
|
pkgs' = pkgs.extend overlay;
|
|
in
|
|
{
|
|
checks.proxmox-basic = pkgs'.testers.runNixOSTest {
|
|
imports = [
|
|
./proxmoxTest.nix
|
|
];
|
|
_module.args = {
|
|
inherit sources inputs;
|
|
};
|
|
};
|
|
};
|
|
}
|