add some vm configs

This commit is contained in:
2026-09-15 22:35:50 -05:00
parent cbdb3f0ad7
commit f65ceb083f
3 changed files with 19 additions and 22 deletions
+3 -3
View File
@@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1788405554,
"narHash": "sha256-r2f1oUwixlgq9zOdYLqJLfS/lWBT60/IITjhTKI59JU=",
"lastModified": 1789344334,
"narHash": "sha256-vdhpDJ3Lr24lkZ+fDCjmBRRtw9/vcSzkqGJOJyF5h2U=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a5cc6f2c37bf518436dc8d1c288ccd0c43c2f4c4",
"rev": "c3eea5b2156db11c7eeeada3dc737711255b253e",
"type": "github"
},
"original": {
+16 -2
View File
@@ -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
];
};
};
};
}