add some vm configs
This commit is contained in:
Generated
+3
-3
@@ -2,11 +2,11 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1788405554,
|
"lastModified": 1789344334,
|
||||||
"narHash": "sha256-r2f1oUwixlgq9zOdYLqJLfS/lWBT60/IITjhTKI59JU=",
|
"narHash": "sha256-vdhpDJ3Lr24lkZ+fDCjmBRRtw9/vcSzkqGJOJyF5h2U=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a5cc6f2c37bf518436dc8d1c288ccd0c43c2f4c4",
|
"rev": "c3eea5b2156db11c7eeeada3dc737711255b253e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -3,11 +3,25 @@
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
||||||
|
postgres-db = "../postgresql-db";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -118,9 +118,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# ================================ #
|
|
||||||
# END K3S SERVICE #
|
|
||||||
# ================================ #
|
|
||||||
# ================================ #
|
# ================================ #
|
||||||
# GITEA SERVICE #
|
# GITEA SERVICE #
|
||||||
# ================================ #
|
# ================================ #
|
||||||
@@ -136,18 +133,12 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# ================================ #
|
|
||||||
# GITEA SERVICE #
|
|
||||||
# ================================ #
|
|
||||||
# ================================ #
|
# ================================ #
|
||||||
# BLOG SERVICE #
|
# BLOG SERVICE #
|
||||||
# ================================ #
|
# ================================ #
|
||||||
|
|
||||||
# fullstack code. Dev hosted via VMs (incus)
|
# fullstack code. Dev hosted via VMs (incus)
|
||||||
|
|
||||||
# ================================ #
|
|
||||||
# END BLOG SERVICE #
|
|
||||||
# ================================ #
|
|
||||||
# ================================ #
|
# ================================ #
|
||||||
# PSQL SERVICE #
|
# PSQL SERVICE #
|
||||||
# ================================ #
|
# ================================ #
|
||||||
@@ -166,10 +157,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# ================================ #
|
|
||||||
# END PSQL SERVICE #
|
|
||||||
# ================================ #
|
|
||||||
|
|
||||||
# ================================ #
|
# ================================ #
|
||||||
# MINECRAFT #
|
# MINECRAFT #
|
||||||
# ================================ #
|
# ================================ #
|
||||||
@@ -179,10 +166,6 @@
|
|||||||
storeDir = "/persist/srv/minecraft";
|
storeDir = "/persist/srv/minecraft";
|
||||||
};
|
};
|
||||||
|
|
||||||
# ================================ #
|
|
||||||
# END MINECRAFT #
|
|
||||||
# ================================ #
|
|
||||||
|
|
||||||
# Grub Boot Loader Setup
|
# Grub Boot Loader Setup
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user