1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-05 10:49:44 +01:00
home-manager/tests/default.nix

64 lines
1.6 KiB
Nix
Raw Normal View History

2018-12-11 00:51:48 +01:00
{ pkgs ? import <nixpkgs> {} }:
let
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-03-02 23:47:39 +01:00
rev = "4174e11107ba808b3001ede2f9f245481dfdfb2e";
sha256 = "0vzdh7211dxmd4c3371l5b2v5i3b8rip2axk8l5xqlwddp3jiy5n";
2018-12-11 00:51:48 +01:00
};
modules = import ../modules/modules.nix {
inherit lib pkgs;
check = false;
};
2018-12-11 00:51:48 +01:00
in
import nmt {
inherit lib pkgs modules;
2018-12-11 00:51:48 +01:00
testedAttrPath = [ "home" "activationPackage" ];
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/fish
./modules/programs/git
./modules/programs/gpg
./modules/programs/lieer
./modules/programs/mbsync
./modules/programs/neomutt
./modules/programs/newsboat
2020-04-07 09:10:07 +02:00
./modules/programs/qutebrowser
./modules/programs/readline
./modules/programs/ssh
./modules/programs/starship
./modules/programs/texlive
./modules/programs/tmux
./modules/programs/zsh
./modules/xresources
] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
./modules/misc/debug
./modules/misc/pam
./modules/misc/xdg
./modules/misc/xsession
./modules/programs/abook
./modules/programs/firefox
./modules/programs/getmail
./modules/services/lieer
./modules/programs/rofi
2020-03-02 22:31:15 +01:00
./modules/services/polybar
./modules/services/sxhkd
./modules/services/window-managers/i3
./modules/systemd
./modules/targets
]);
2018-12-11 00:51:48 +01:00
}