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
];
};
};
};
}
-17
View File
@@ -118,9 +118,6 @@
];
};
# ================================ #
# END K3S SERVICE #
# ================================ #
# ================================ #
# GITEA SERVICE #
# ================================ #
@@ -136,18 +133,12 @@
};
};
# ================================ #
# GITEA SERVICE #
# ================================ #
# ================================ #
# BLOG SERVICE #
# ================================ #
# fullstack code. Dev hosted via VMs (incus)
# ================================ #
# END BLOG SERVICE #
# ================================ #
# ================================ #
# PSQL SERVICE #
# ================================ #
@@ -166,10 +157,6 @@
];
};
# ================================ #
# END PSQL SERVICE #
# ================================ #
# ================================ #
# MINECRAFT #
# ================================ #
@@ -179,10 +166,6 @@
storeDir = "/persist/srv/minecraft";
};
# ================================ #
# END MINECRAFT #
# ================================ #
# Grub Boot Loader Setup
boot.loader.grub = {
enable = true;