Lens
This commit is contained in:
parent
a62ea68035
commit
a519074885
3 changed files with 12 additions and 20 deletions
|
|
@ -1,19 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
home.pkgs = [
|
||||
home.packages = with pkgs; [
|
||||
lens
|
||||
kubectl
|
||||
kompose
|
||||
];
|
||||
|
||||
home.file."${pkgs.lens}" = {
|
||||
text = ''
|
||||
[Dekstop Entry]
|
||||
Name=Lens
|
||||
Exec=${pkgs.lens}/bin/lens
|
||||
Type=Application
|
||||
Categories=Development;
|
||||
'';
|
||||
home.file = {
|
||||
".config/Lens/config.json".text = builtins.toJSON {
|
||||
updateChannel = "stable";
|
||||
allowUntrustedCAs = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.variables.KUBECONFIG = "${config.home.homeDirectory}/.kube/config";
|
||||
home.sessionVariables = {
|
||||
KUBECONFIG = "$HOME/.kube/config";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,8 +12,6 @@
|
|||
|
||||
../../../nixos/roles/physical/desktop/common
|
||||
../../../nixos/roles/physical/desktop/niri
|
||||
|
||||
../../../nixos/modules/kubectl.nix
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
kubectl
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue