add hyprland conf

This commit is contained in:
iofq 2024-03-10 03:13:58 -05:00
parent 1849fdc496
commit e1f0194350
No known key found for this signature in database
GPG key ID: ECF3B2DA38BF7183
21 changed files with 712 additions and 263 deletions

28
nixos/htz/vms/k3s.nix Normal file
View file

@ -0,0 +1,28 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
k3s
];
services.k3s = {
enable = true;
role = "server";
extraFlags = toString [
"--disable traefik"
];
};
networking.firewall = {
allowedTCPPorts = [6443];
};
services.tailscale.enable = true;
microvm = {
vcpu = 2;
mem = 4096;
volumes = [
{
image = "/var/lib/microvms/vm-k3s/vm-k3s-root.img";
label = "vm-pool-root";
mountPoint = "/";
size = 10000;
}
];
};
}