chore: Restructure files.

This commit is contained in:
greysoh 2024-07-14 11:03:54 -04:00
parent 6db5703527
commit 77c5c90a46
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
7 changed files with 175 additions and 252 deletions

View file

@ -0,0 +1,32 @@
let
pkgs = import <nixpkgs> {};
in {
imports = [
./commons.nix
];
proxmox.qemuConf.memory = 4096;
proxmox.qemuConf.cores = 1;
proxmox.qemuConf.name = "k3s-server";
proxmox.qemuConf.diskSize = pkgs.lib.mkForce "16384";
services.k3s = {
role = "server";
serverAddr = "https://kitteh-node-1-k3s-server:6443";
};
# K3s settings
networking.firewall = {
enable = true;
allowedTCPPorts = [
6443
2379
2380
];
allowedUDPPorts = [
8472
];
};
}