Files
clan-core/clanServices/state-version/flake-module.nix
2025-06-16 11:28:35 +02:00

20 lines
414 B
Nix

{ lib, self, ... }:
{
clan.modules = {
state-version = lib.modules.importApply ./default.nix { };
};
perSystem =
{ pkgs, ... }:
{
checks = lib.optionalAttrs (pkgs.stdenv.isLinux) {
state-version = import ./tests/vm/default.nix {
inherit pkgs;
clan-core = self;
nixosLib = import (self.inputs.nixpkgs + "/nixos/lib") { };
};
};
};
}