Commit Graph

2 Commits

Author SHA1 Message Date
Mogeko
7f6cd3837d
nixos/rke2: modify the systemd unit name to be consistent with the upstream
remove `fix-systemd-unit-name.patch`.
2024-06-21 10:50:41 +08:00
Mogeko
a642efcdab
nixos/rke2: add rke2 service
Set assertions to avoid obvious errors.

Eliminate the conflict between default CNI (`cana`) and `NetworkManager`.

Determine whether optional can be used for agent.

Add the option `cisHardening` to enable CIS Hardening.

Set kernel parameters by `boot.kernel.sysctl`.

Using `lib.escapeShellArgs` to make `ExecStart` more resilient to escaping issues.

Using a list of `str` to extra flags.
2024-05-28 12:39:30 +08:00