added kubernetes stuff

This commit is contained in:
Fishandchips321 2026-02-27 18:06:53 +00:00
parent 6c5e8c121c
commit c747e19474
2 changed files with 29 additions and 0 deletions

13
modules/k3s.nix Normal file
View file

@ -0,0 +1,13 @@
{config, pkgs, lib, ...}:
let
cfg = config.modules.k3s;
in
{
options.modules.k3s.enable = lib.mkEnableOption "Enable the k3s service";
config = lib.mkIf cfg.enable {
services.k3s.enable = true;
}
}