2018-12-10 23:51:48 +00:00
|
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
nmt = pkgs.fetchFromGitLab {
|
|
|
|
owner = "rycee";
|
|
|
|
repo = "nmt";
|
2019-05-05 22:17:30 +00:00
|
|
|
rev = "89fb12a2aaa8ec671e22a033162c7738be714305";
|
|
|
|
sha256 = "07yc1jkgw8vhskzk937k9hfba401q8rn4sgj9baw3fkjl9zrbcyf";
|
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-05-31 18:12:46 +00:00
|
|
|
browserpass = ./modules/programs/browserpass.nix;
|
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-03-19 22:00:17 +00:00
|
|
|
}
|
2019-03-24 14:52:30 +00:00
|
|
|
// pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux (
|
|
|
|
{
|
2019-06-28 03:56:42 +00:00
|
|
|
getmail = ./modules/programs/getmail.nix;
|
2019-03-24 14:52:30 +00:00
|
|
|
i3-keybindings = ./modules/services/window-managers/i3-keybindings.nix;
|
|
|
|
}
|
2019-04-26 22:21:18 +00:00
|
|
|
// import ./modules/misc/pam
|
2019-09-05 09:25:31 +00:00
|
|
|
// import ./modules/misc/xdg
|
2019-06-23 12:06:29 +00:00
|
|
|
// import ./modules/misc/xsession
|
2019-08-18 08:57:30 +00:00
|
|
|
// import ./modules/programs/firefox
|
2019-09-04 10:46:04 +00:00
|
|
|
// import ./modules/programs/rofi
|
2019-09-15 21:12:08 +00:00
|
|
|
// import ./modules/services/sxhkd
|
2019-03-24 14:52:30 +00:00
|
|
|
// import ./modules/systemd
|
|
|
|
)
|
2019-04-26 22:21:18 +00:00
|
|
|
// import ./modules/home-environment
|
2019-05-05 22:27:25 +00:00
|
|
|
// import ./modules/misc/fontconfig
|
2019-05-13 02:08:23 +00:00
|
|
|
// import ./modules/programs/alacritty
|
2019-04-26 22:21:18 +00:00
|
|
|
// import ./modules/programs/bash
|
2019-05-24 07:01:10 +00:00
|
|
|
// import ./modules/programs/gpg
|
2019-10-07 21:51:12 +00:00
|
|
|
// import ./modules/programs/newsboat
|
2019-03-24 14:52:30 +00:00
|
|
|
// import ./modules/programs/ssh
|
2019-04-26 22:21:18 +00:00
|
|
|
// import ./modules/programs/tmux
|
|
|
|
// import ./modules/programs/zsh;
|
2018-12-10 23:51:48 +00:00
|
|
|
}
|