microvm host is stable (for now)
- per-system default.nix now inherits the source tree via `src` (this allows modules to be optionally imported from `modules/opt/`) - adds a default config for microvm hosts - enables systemd-networkd by default - allows passing in vms - binds vm nix-store to host nix-store - allows merging systemd jounals - adds microvms to palatine-hill Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
@ -160,7 +160,12 @@ rec {
|
||||
lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs server system;
|
||||
inherit
|
||||
inputs
|
||||
server
|
||||
system
|
||||
src
|
||||
;
|
||||
};
|
||||
modules =
|
||||
[
|
||||
@ -208,7 +213,7 @@ rec {
|
||||
inherit inputs src configPath;
|
||||
hostname = name;
|
||||
}
|
||||
// import configPath { inherit inputs; }
|
||||
// import configPath { inherit inputs src; }
|
||||
);
|
||||
}
|
||||
) (lib.rad-dev.lsdir path)
|
||||
|
Reference in New Issue
Block a user