neovim-flake/flake/tests/checks/homeManagerModule.nix

34 lines
510 B
Nix
Raw Normal View History

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