move vms to separate test config

This commit is contained in:
RoyDumblauskas committed 2026-09-17 21:22:57 -05:00
1 parent 4a591edf20
commit 1fb3c7b427
5 files changed
+1 -2

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
{
description = "Flake to run services on a VM powered by incus";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
postgresql-db.url = "path:../postgresql-db";
};
outputs =
{
self,
nixpkgs,
postgresql-db,
}@inputs:
{
nixosConfigurations = {
virtual-env = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./virtual.nix
postgresql-db.nixosModules.postgresql-db
# declare the vm output
"${inputs.nixpkgs}/nixos/modules/virtualisation/incus-virtual-machine.nix"
];
};
};
};
}