mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-12-30 19:14:19 +00:00
Fixed home manager inputs, and got sops-nix working for all current hosts
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"; # Or "agent" for worker only nodes
|
||||
token = "forinitialtestingonly";
|
||||
tokenFile = config.sops.secrets.k3s_token.path;
|
||||
serverAddr = "https://cap-clust-01:6443";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user