2018-12-10 23:51:48 +00:00
|
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
nmt = pkgs.fetchFromGitLab {
|
|
|
|
owner = "rycee";
|
|
|
|
repo = "nmt";
|
2019-02-10 11:09:47 +00:00
|
|
|
rev = "b6ab61e707ec1ca3839fef42f9960a1179d543c4";
|
|
|
|
sha256 = "097fm1hmsyhy8chf73wwrvafcxny37414fna3haxf0q5fvpv4jfb";
|
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 = {
|
2019-01-16 01:14:14 +00: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 17:17:24 +00:00
|
|
|
git-with-email = ./modules/programs/git-with-email.nix;
|
2019-01-14 22:02:33 +00:00
|
|
|
git-with-most-options = ./modules/programs/git.nix;
|
|
|
|
git-with-str-extra-config = ./modules/programs/git-with-str-extra-config.nix;
|
2019-01-31 01:08:40 +00:00
|
|
|
mbsync = ./modules/programs/mbsync.nix;
|
2019-01-09 01:09:23 +00:00
|
|
|
texlive-minimal = ./modules/programs/texlive-minimal.nix;
|
2018-12-10 23:51:48 +00:00
|
|
|
xresources = ./modules/xresources.nix;
|
2019-01-14 21:50:11 +00:00
|
|
|
} // pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
2019-01-14 22:02:33 +00:00
|
|
|
i3-keybindings = ./modules/services/window-managers/i3-keybindings.nix;
|
2019-02-10 01:19:56 +00:00
|
|
|
} // import ./modules/programs/tmux;
|
2018-12-10 23:51:48 +00:00
|
|
|
}
|