athens/nix/modules/k3s/common.nix

12 lines
190 B
Nix
Raw Normal View History

2025-03-08 17:50:32 -05:00
{ config, ... }:
{
services.k3s = {
2025-03-09 20:54:32 -04:00
enable = false;
2025-03-08 17:50:32 -05:00
tokenFile = config.sops.secrets.k3s-token.path;
};
sops.secrets.k3s-token = {
owner = "root";
mode = "0400";
};
}