tests: Simplify machine imports

This commit is contained in:
Donovan Glover 2024-09-01 13:43:24 -04:00
parent d188a89b6e
commit 71b252d810
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -8,13 +8,13 @@ self.inputs.nixpkgs.lib.nixos.runTest {
nodes.machine =
{ nix-config, ... }:
{
imports = builtins.attrValues {
inherit (nix-config.nixosModules) desktop system shell;
imports = with nix-config.nixosModules; [
desktop
shell
system
];
customConfig = {
modules.desktop.container = true;
};
};
modules.desktop.container = true;
home-manager.sharedModules = with nix-config.homeModules; [ neovim ];
};