Migrate packages module to clanServices

This commit is contained in:
pinpox
2025-06-12 10:35:10 +02:00
parent 8435c71da7
commit faa1bf21e0
5 changed files with 106 additions and 1 deletions

View File

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