add vm output path
This commit is contained in:
Generated
+2
-2
@@ -32,7 +32,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"postgres-db": {
|
||||
"postgresql-db": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
@@ -49,7 +49,7 @@
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs",
|
||||
"postgres-db": "postgres-db"
|
||||
"postgresql-db": "postgresql-db"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
||||
postgres-db.url = "path:../postgresql-db";
|
||||
postgresql-db.url = "path:../postgresql-db";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
postgres-db,
|
||||
postgresql-db,
|
||||
}@inputs:
|
||||
{
|
||||
nixosConfigurations = {
|
||||
@@ -19,7 +19,10 @@
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./virtual.nix
|
||||
postgres-db.nixosModules.postgres-db
|
||||
postgresql-db.nixosModules.postgresql-db
|
||||
|
||||
# declare the vm output
|
||||
"${inputs.nixpkgs}/nixos/modules/virtualisation/incus-virtual-machine.nix"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user