Initial keys, and basic token file for sops cluster testing

This commit is contained in:
2025-12-13 01:55:25 -08:00
parent c360755253
commit 353135a2d9
6 changed files with 87 additions and 6 deletions

View File

@@ -1,9 +1,11 @@
{ config, pkgs, ... }:
{
sops.secrets.k3s_token.sopsFile = secrets/cluster.yaml;
services.k3s = {
enable = true;
role = "server";
token = "forinitialtestingonly";
tokenFile = config.sops.secrets.k3s_token.path;
clusterInit = true;
};
}