add some vm configs
This commit is contained in:
@@ -3,11 +3,25 @@
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
||||
postgres-db = "../postgresql-db";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ ... }:
|
||||
{
|
||||
|
||||
self,
|
||||
nixpkgs,
|
||||
postgres-db,
|
||||
}@inputs:
|
||||
{
|
||||
nixosConfigurations = {
|
||||
name = "virtual-env";
|
||||
value = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./virtual.nix
|
||||
postgres-db.nixosModules.postgres-db
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user