mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +02:00
tests: Add a test for the home-manager module (#901)
This commit is contained in:
parent
55745158c2
commit
96cdbc8177
5 changed files with 63 additions and 0 deletions
24
tests/modules/hm.nix
Normal file
24
tests/modules/hm.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
nixvim,
|
||||
pkgs,
|
||||
home-manager,
|
||||
}:
|
||||
home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
modules = [
|
||||
{
|
||||
home.username = "nixvim";
|
||||
home.homeDirectory = "/invalid/dir";
|
||||
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
nixvim.homeManagerModules.nixvim
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue