mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-24 17:23:09 +01:00
tests: Simplify machine imports
This commit is contained in:
parent
d188a89b6e
commit
71b252d810
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.sharedModules = with nix-config.homeModules; [ neovim ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user