1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-14 07:09:45 +01:00
home-manager/tests/default.nix

50 lines
1.7 KiB
Nix
Raw Normal View History

2018-12-11 00:51:48 +01:00
{ pkgs ? import <nixpkgs> {} }:
let
nmt = pkgs.fetchFromGitLab {
owner = "rycee";
repo = "nmt";
2019-05-06 00:17:30 +02:00
rev = "89fb12a2aaa8ec671e22a033162c7738be714305";
sha256 = "07yc1jkgw8vhskzk937k9hfba401q8rn4sgj9baw3fkjl9zrbcyf";
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 = {
browserpass = ./modules/programs/browserpass.nix;
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;
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;
mbsync = ./modules/programs/mbsync.nix;
texlive-minimal = ./modules/programs/texlive-minimal.nix;
2018-12-11 00:51:48 +01:00
xresources = ./modules/xresources.nix;
2019-03-19 23:00:17 +01:00
}
2019-03-24 15:52:30 +01:00
// pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux (
{
2019-06-28 05:56:42 +02:00
getmail = ./modules/programs/getmail.nix;
2019-03-24 15:52:30 +01:00
i3-keybindings = ./modules/services/window-managers/i3-keybindings.nix;
}
// import ./modules/misc/pam
// import ./modules/misc/xsession
// import ./modules/programs/firefox
2019-03-24 15:52:30 +01:00
// import ./modules/systemd
)
// import ./modules/home-environment
// import ./modules/misc/fontconfig
// import ./modules/programs/alacritty
// import ./modules/programs/bash
2019-05-24 09:01:10 +02:00
// import ./modules/programs/gpg
2019-03-24 15:52:30 +01:00
// import ./modules/programs/ssh
// import ./modules/programs/tmux
// import ./modules/programs/zsh;
2018-12-11 00:51:48 +01:00
}