2018-12-11 00:51:48 +01:00
|
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
2020-01-16 23:41:14 +01:00
|
|
|
lib = import ../modules/lib/stdlib-extended.nix pkgs.lib;
|
|
|
|
|
2018-12-11 00:51:48 +01:00
|
|
|
nmt = pkgs.fetchFromGitLab {
|
|
|
|
owner = "rycee";
|
|
|
|
repo = "nmt";
|
2020-01-16 23:41:14 +01:00
|
|
|
rev = "6f866d1acb89fa15cd3b62baa052deae1f685c0c";
|
|
|
|
sha256 = "1qr1shhapjn4nnd4k6hml69ri8vgz4l8lakjll5hc516shs9a9nn";
|
2018-12-11 00:51:48 +01:00
|
|
|
};
|
|
|
|
|
2020-01-26 12:00:03 +01:00
|
|
|
modules = import ../modules/modules.nix {
|
|
|
|
inherit lib pkgs;
|
|
|
|
check = false;
|
|
|
|
};
|
2020-01-16 23:41:14 +01:00
|
|
|
|
2018-12-11 00:51:48 +01:00
|
|
|
in
|
|
|
|
|
|
|
|
import nmt {
|
2020-01-16 23:41:14 +01:00
|
|
|
inherit lib pkgs modules;
|
2018-12-11 00:51:48 +01:00
|
|
|
testedAttrPath = [ "home" "activationPackage" ];
|
2020-01-26 12:00:03 +01:00
|
|
|
tests = builtins.foldl' (a: b: a // (import b)) { } ([
|
|
|
|
./lib/types
|
|
|
|
./modules/files
|
|
|
|
./modules/home-environment
|
|
|
|
./modules/misc/fontconfig
|
|
|
|
./modules/programs/alacritty
|
|
|
|
./modules/programs/bash
|
|
|
|
./modules/programs/browserpass
|
|
|
|
./modules/programs/git
|
|
|
|
./modules/programs/gpg
|
|
|
|
./modules/programs/mbsync
|
|
|
|
./modules/programs/neomutt
|
|
|
|
./modules/programs/newsboat
|
|
|
|
./modules/programs/readline
|
|
|
|
./modules/programs/ssh
|
|
|
|
./modules/programs/texlive
|
|
|
|
./modules/programs/tmux
|
|
|
|
./modules/programs/zsh
|
|
|
|
./modules/xresources
|
|
|
|
] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
|
|
|
./modules/misc/pam
|
|
|
|
./modules/misc/xdg
|
|
|
|
./modules/misc/xsession
|
|
|
|
./modules/programs/firefox
|
|
|
|
./modules/programs/getmail
|
|
|
|
./modules/programs/rofi
|
|
|
|
./modules/services/sxhkd
|
|
|
|
./modules/services/window-managers/i3
|
|
|
|
./modules/systemd
|
|
|
|
]);
|
2018-12-11 00:51:48 +01:00
|
|
|
}
|