nvf/flake/tests/checks/homeManagerModule.nix

32 lines
488 B
Nix
Raw Normal View History

2024-05-06 13:13:38 +00:00
{
inputs,
nixosTest,
homeManagerModules,
...
}:
nixosTest {
name = "home-manager-test";
nodes.machine = {
imports = [
inputs.home-manager.nixosModules.home-manager
../profiles/minimal.nix
];
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 = "";
}