diff --git a/homelab-services/incus-vm/flake.lock b/homelab-services/incus-vm/flake.lock index 5602a06..4b9aad9 100644 --- a/homelab-services/incus-vm/flake.lock +++ b/homelab-services/incus-vm/flake.lock @@ -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" } } }, diff --git a/homelab-services/incus-vm/flake.nix b/homelab-services/incus-vm/flake.nix index 6e55b21..2d88c1b 100644 --- a/homelab-services/incus-vm/flake.nix +++ b/homelab-services/incus-vm/flake.nix @@ -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" ]; }; };