3fdc011242
* chore(modules): add tests for home-manager on darwin * ci: use nix-fast-build for tests this also enables the new darwin tests * chore(tests): disable unsupported modules on darwin * docs: add `tests` scope to CONTRIBUTING.md * fix(home-manager): exclude `gtk.catppuccin.icon` from global enable this was accidentally enabled by default only with `catppuccin.enable` * fix(tests): build activationPackage for darwin
17 lines
554 B
Nix
17 lines
554 B
Nix
{
|
|
lib,
|
|
nixpkgs,
|
|
nixpkgs-stable,
|
|
home-manager,
|
|
home-manager-stable,
|
|
}:
|
|
lib.optionalAttrs nixpkgs.stdenv.isLinux {
|
|
nixos-test-unstable = nixpkgs.callPackage ./nixos.nix { inherit home-manager; };
|
|
nixos-test-stable = nixpkgs-stable.callPackage ./nixos.nix { home-manager = home-manager-stable; };
|
|
}
|
|
// lib.optionalAttrs nixpkgs.stdenv.isDarwin {
|
|
darwin-test-unstable = nixpkgs.callPackage ./darwin.nix { inherit home-manager; };
|
|
darwin-test-stable = nixpkgs-stable.callPackage ./darwin.nix {
|
|
home-manager = home-manager-stable;
|
|
};
|
|
}
|