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

32 lines
488 B
Nix
Raw Normal View History

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