Files
nix/hosts/elara/users/nikara/configs/console/kubernetes/default.nix
Nikolaos Karaolidis b355f72b2e Refactor structure
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-01-09 13:50:26 +00:00

24 lines
604 B
Nix

{
user ? throw "user argument is required",
home ? throw "home argument is required",
}:
{ ... }:
{
home-manager.users.${user} = {
sops.secrets = {
"kubeconfig/d90270" = {
sopsFile = ../../../../../../../secrets/sas/secrets.yaml;
path = "${home}/.kube/d90270";
};
"kubeconfig/d90271" = {
sopsFile = ../../../../../../../secrets/sas/secrets.yaml;
path = "${home}/.kube/d90271";
};
"kubeconfig/d90272" = {
sopsFile = ../../../../../../../secrets/sas/secrets.yaml;
path = "${home}/.kube/d90272";
};
};
};
}