home-manager/tests/default.nix

25 lines
664 B
Nix
Raw Normal View History

2018-12-10 23:51:48 +00:00
{ pkgs ? import <nixpkgs> {} }:
let
nmt = pkgs.fetchFromGitLab {
owner = "rycee";
repo = "nmt";
2019-01-14 21:48:59 +00:00
rev = "2ed3897e22ee0e1d343ba2c33122d57d888dedfe";
sha256 = "1k4qapinsvrf40ccpva6rfp11b90h413xrf5h57v84m88fcgac7n";
2018-12-10 23:51:48 +00:00
};
in
import nmt {
inherit pkgs;
modules = import ../modules/modules.nix { inherit pkgs; lib = pkgs.lib; };
testedAttrPath = [ "home" "activationPackage" ];
tests = {
"git/with-most-options" = ./modules/programs/git.nix;
"git/with-str-extra-config" = ./modules/programs/git-with-str-extra-config.nix;
texlive-minimal = ./modules/programs/texlive-minimal.nix;
2018-12-10 23:51:48 +00:00
xresources = ./modules/xresources.nix;
};
}