2018-12-11 00:51:48 +01:00
|
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
nmt = pkgs.fetchFromGitLab {
|
|
|
|
owner = "rycee";
|
|
|
|
repo = "nmt";
|
2019-01-19 12:41:33 +01:00
|
|
|
rev = "02a01605021df3d8d43346076bd065109b10e4f9";
|
|
|
|
sha256 = "1b5f534xskp4qdnh0nmflqm6v1a014a883x3abscf4xd0pxb8cj7";
|
2018-12-11 00:51:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
import nmt {
|
|
|
|
inherit pkgs;
|
|
|
|
modules = import ../modules/modules.nix { inherit pkgs; lib = pkgs.lib; };
|
|
|
|
testedAttrPath = [ "home" "activationPackage" ];
|
|
|
|
tests = {
|
2019-01-16 02:14:14 +01:00
|
|
|
files-executable = ./modules/files/executable.nix;
|
|
|
|
files-hidden-source = ./modules/files/hidden-source.nix;
|
|
|
|
files-source-with-spaces = ./modules/files/source-with-spaces.nix;
|
|
|
|
files-text = ./modules/files/text.nix;
|
2019-01-29 18:17:24 +01:00
|
|
|
git-with-email = ./modules/programs/git-with-email.nix;
|
2019-01-14 23:02:33 +01:00
|
|
|
git-with-most-options = ./modules/programs/git.nix;
|
|
|
|
git-with-str-extra-config = ./modules/programs/git-with-str-extra-config.nix;
|
2019-01-09 02:09:23 +01:00
|
|
|
texlive-minimal = ./modules/programs/texlive-minimal.nix;
|
2018-12-11 00:51:48 +01:00
|
|
|
xresources = ./modules/xresources.nix;
|
2019-01-14 22:50:11 +01:00
|
|
|
} // pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
2019-01-14 23:02:33 +01:00
|
|
|
i3-keybindings = ./modules/services/window-managers/i3-keybindings.nix;
|
2018-12-11 00:51:48 +01:00
|
|
|
};
|
|
|
|
}
|