athens/nix/modules/k3s/common.nix
2025-03-09 20:54:32 -04:00

12 lines
190 B
Nix

{ config, ... }:
{
services.k3s = {
enable = false;
tokenFile = config.sops.secrets.k3s-token.path;
};
sops.secrets.k3s-token = {
owner = "root";
mode = "0400";
};
}