nvf/flake/tests/checks/homeManagerModule.nix

34 lines
510 B
Nix
Raw Normal View History

2024-05-06 13:13:38 +00:00
{
inputs,
nixosTest,
homeManagerModules,
testProfile,
2024-05-06 13:13:38 +00:00
...
}:
nixosTest {
name = "home-manager-test";
2024-05-06 14:25:58 +00:00
skipLint = true;
2024-05-06 13:13:38 +00:00
nodes.machine = {
imports = [
testProfile
2024-05-06 13:13:38 +00:00
inputs.home-manager.nixosModules.home-manager
];
2024-05-06 13:43:05 +00:00
config = {
home-manager = {
sharedModules = [
homeManagerModules.nvf
];
2024-05-06 13:13:38 +00:00
2024-05-06 13:43:05 +00:00
users.test = {
home.stateVersion = "24.05";
programs.nvf.enable = true;
};
2024-05-06 13:13:38 +00:00
};
};
};
testScript = "";
2024-05-06 13:13:38 +00:00
}