mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-19 08:07:14 +02: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 =
|
nodes.machine =
|
||||||
{ nix-config, ... }:
|
{ nix-config, ... }:
|
||||||
{
|
{
|
||||||
imports = builtins.attrValues {
|
imports = with nix-config.nixosModules; [
|
||||||
inherit (nix-config.nixosModules) desktop system shell;
|
desktop
|
||||||
|
shell
|
||||||
|
system
|
||||||
|
];
|
||||||
|
|
||||||
customConfig = {
|
|
||||||
modules.desktop.container = true;
|
modules.desktop.container = true;
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager.sharedModules = with nix-config.homeModules; [ neovim ];
|
home-manager.sharedModules = with nix-config.homeModules; [ neovim ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user