{ unstable, stable2009 }: let mkStandardSystem = { name, pkgs }: pkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ pkgs.nixosModules.notDetected ({ ... }: { config = { sconfig.flakes.enable = true; }; }) (./. + "/configuration_${name}.nix") ../. ]; }; mkQemuSystem = { name, pkgs }: pkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ({ modulesPath, ... }: { imports = [ "${modulesPath}/profiles/qemu-guest.nix" ]; }) ({ ... }: { config = { sconfig.flakes.enable = true; }; }) (./. + "/configuration_${name}.nix") ../. ]; }; in { vm = mkQemuSystem { name = "vm"; pkgs = unstable; }; }