add hyprland conf
This commit is contained in:
parent
1849fdc496
commit
e1f0194350
21 changed files with 712 additions and 263 deletions
28
nixos/htz/vms/k3s.nix
Normal file
28
nixos/htz/vms/k3s.nix
Normal 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;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue