Add Nodens, a VM to install NixOS VMs #48

Merged
Gonne merged 3 commits from Gonne/nixConfig:nodens into main 2025-02-20 15:42:12 +00:00
Showing only changes of commit 51c83c8ec0 - Show all commits

View file

@ -14,7 +14,13 @@
importedConfig = import (./. + "/machines/${name}/configuration.nix");
systemConfig =
if lib.isFunction importedConfig
then x: importedConfig (x // {flake-inputs = inputs;})
then
x:
importedConfig (x
// {
flake-inputs = inputs;
inherit pkgs;
})
else importedConfig;
in
pkgs.nixos {