mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
tests: move git and files tests to directories
This commit is contained in:
parent
5c9ec0d8e9
commit
bcfc52cb85
9 changed files with 14 additions and 8 deletions
|
@ -17,13 +17,6 @@ import nmt {
|
|||
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;
|
||||
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;
|
||||
xresources = ./modules/xresources.nix;
|
||||
|
@ -41,10 +34,12 @@ import nmt {
|
|||
// import ./modules/services/sxhkd
|
||||
// import ./modules/systemd
|
||||
)
|
||||
// import ./modules/files
|
||||
// import ./modules/home-environment
|
||||
// import ./modules/misc/fontconfig
|
||||
// import ./modules/programs/alacritty
|
||||
// import ./modules/programs/bash
|
||||
// import ./modules/programs/git
|
||||
// import ./modules/programs/gpg
|
||||
// import ./modules/programs/newsboat
|
||||
// import ./modules/programs/readline
|
||||
|
|
6
tests/modules/files/default.nix
Normal file
6
tests/modules/files/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
files-executable = ./executable.nix;
|
||||
files-hidden-source = ./hidden-source.nix;
|
||||
files-source-with-spaces = ./source-with-spaces.nix;
|
||||
files-text = ./text.nix;
|
||||
}
|
5
tests/modules/programs/git/default.nix
Normal file
5
tests/modules/programs/git/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
git-with-email = ./git-with-email.nix;
|
||||
git-with-most-options = ./git.nix;
|
||||
git-with-str-extra-config = ./git-with-str-extra-config.nix;
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
with lib;
|
||||
|
||||
{
|
||||
imports = [ ../accounts/email-test-accounts.nix ];
|
||||
imports = [ ../../accounts/email-test-accounts.nix ];
|
||||
|
||||
config = {
|
||||
programs.git = {
|
Loading…
Reference in a new issue