mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
ops(k8s): replace k3s with k8s, provide bootstrap, ty @duckfullstop
This commit is contained in:
parent
067d72b8a8
commit
fc67b7a2e5
9 changed files with 266 additions and 47 deletions
|
|
@ -1,6 +1,10 @@
|
|||
{ config, lib, pkgs, ... }: with lib;
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
boot.kernelPackages = mkIf (elem "zfs" config.boot.supportedFilesystems) (mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages);
|
||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||
boot.zfs.enableUnstable = mkIf (elem "zfs" config.boot.supportedFilesystems) true;
|
||||
|
|
@ -10,7 +14,7 @@
|
|||
"net.core.wmem_max" = 16777216;
|
||||
"net.ipv4.tcp_rmem" = "4096 87380 16777216";
|
||||
"net.ipv4.tcp_wmem" = "4096 65536 16777216";
|
||||
"net.ipv4.ip_forward" = "1";
|
||||
"net.ipv4.ip_forward" = mkDefault "1";
|
||||
"net.ipv6.conf.all.forwarding" = "1";
|
||||
"net.ipv6.conf.all.accept_ra_rt_info_max_plen" = 128;
|
||||
"net.ipv6.conf.default.accept_ra_rt_info_max_plen" = 128;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue