mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-12-30 19:14:19 +00:00
Initial keys, and basic token file for sops cluster testing
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user