Files
homelab-config/homelab-services/incus-vm/flake.nix
T

28 lines
549 B
Nix
Raw Normal View History

2026-09-03 23:21:05 -05:00
{
description = "Flake to run services on a VM powered by incus";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
2026-09-15 22:38:10 -05:00
postgres-db.url = "path:../postgresql-db";
2026-09-03 23:21:05 -05:00
};
outputs =
{
2026-09-15 22:35:50 -05:00
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
];
};
};
2026-09-03 23:21:05 -05:00
};
}