Don't configure k9s through home-manager
k9s doesn't really work with a read-only config file.
This commit is contained in:
parent
41aa87f8cc
commit
4883b41a73
|
@ -3,7 +3,6 @@
|
|||
./hardware.nix
|
||||
./fish.nix
|
||||
./hosts.nix
|
||||
./k9s.nix
|
||||
./packages.nix
|
||||
./sway.nix
|
||||
../../overlays
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
{ home-manager, pkgs, ... }: {
|
||||
home-manager.users.caspervk = {
|
||||
programs.k9s = {
|
||||
enable = true;
|
||||
settings = {
|
||||
k9s = {
|
||||
refreshRate = 1;
|
||||
logger = {
|
||||
tail = 500;
|
||||
sinceSeconds = -1;
|
||||
textWrap = true;
|
||||
showTime = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Allow port-forward to 443
|
||||
security.wrappers = {
|
||||
k9s = {
|
||||
source = "${pkgs.k9s}/bin/k9s";
|
||||
owner = "root";
|
||||
group = "root";
|
||||
capabilities = "cap_net_bind_service+ep";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
(google-cloud-sdk.withExtraComponents [
|
||||
google-cloud-sdk.components.gke-gcloud-auth-plugin
|
||||
])
|
||||
k9s
|
||||
kind
|
||||
kubectl
|
||||
kubernetes-helm
|
||||
|
@ -14,4 +15,14 @@
|
|||
sops
|
||||
terraform
|
||||
];
|
||||
|
||||
# Allow port-forward to 443
|
||||
security.wrappers = {
|
||||
k9s = {
|
||||
source = "${pkgs.k9s}/bin/k9s";
|
||||
owner = "root";
|
||||
group = "root";
|
||||
capabilities = "cap_net_bind_service+ep";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue