tests: Test neovim with config

Fixes an issue where previously the home-manager config for neovim
wasn't actually being tested.
This commit is contained in:
Donovan Glover 2024-05-18 23:56:31 -04:00
parent d75a0fc913
commit b5b20c7b19
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 10 additions and 2 deletions

View File

@ -70,7 +70,7 @@ in
mountOnMedia = true;
};
xserver = {
xserver = mkIf (!container) {
enable = true;
excludePackages = [ pkgs.xterm ];
};

View File

@ -6,7 +6,15 @@ in
nodes.machine = { nix-config, ... }: {
imports = attrValues {
inherit (nix-config.nixosModules) system shell;
inherit (nix-config.nixosModules) desktop system shell;
customConfig = {
modules.desktop.container = true;
};
};
home-manager.sharedModules = attrValues {
inherit (nix-config.homeManagerModules) neovim;
};
};