1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00
home-manager/tests/integration/default.nix
alejandro-angulo ecaed80b18
kitty: remove IFD
With this change the theme check happens at activation time. An
integration test is also added to verify the functionality.

Fixes #5110
2024-09-20 09:02:48 +02:00

21 lines
603 B
Nix

{ pkgs }:
let
nixosLib = import "${pkgs.path}/nixos/lib" { };
runTest = test:
nixosLib.runTest {
imports = [ test { node.pkgs = pkgs; } ];
hostPkgs = pkgs; # the Nixpkgs package set used outside the VMs
};
tests = {
kitty = runTest ./standalone/kitty.nix;
nixos-basics = runTest ./nixos/basics.nix;
standalone-flake-basics = runTest ./standalone/flake-basics.nix;
standalone-standard-basics = runTest ./standalone/standard-basics.nix;
};
in tests // {
all = pkgs.linkFarm "all"
(pkgs.lib.mapAttrsToList (name: path: { inherit name path; }) tests);
}