Add Nodens, a VM to install NixOS VMs #48
1 changed files with 7 additions and 1 deletions
|
@ -14,7 +14,13 @@
|
||||||
importedConfig = import (./. + "/machines/${name}/configuration.nix");
|
importedConfig = import (./. + "/machines/${name}/configuration.nix");
|
||||||
systemConfig =
|
systemConfig =
|
||||||
if lib.isFunction importedConfig
|
if lib.isFunction importedConfig
|
||||||
then x: importedConfig (x // {flake-inputs = inputs;})
|
then
|
||||||
|
|||||||
|
x:
|
||||||
|
importedConfig (x
|
||||||
|
// {
|
||||||
|
flake-inputs = inputs;
|
||||||
|
inherit pkgs;
|
||||||
|
})
|
||||||
else importedConfig;
|
else importedConfig;
|
||||||
in
|
in
|
||||||
pkgs.nixos {
|
pkgs.nixos {
|
||||||
|
|
Loading…
Add table
Reference in a new issue
I think having a separate commit for this change might make bug hunting easier if this introduces a regression.