Compare commits

...

5 commits

6 changed files with 15 additions and 13 deletions

View file

@ -38,8 +38,7 @@
laptop = true;
gpuThermal.enable = false;
cpuThermal = {
hwmonPathAbs = "/sys/devices/platform/coretemp.0/hwmon/";
inputFilename = "temp1_input";
thermalZone = 9;
};
};
xdg.useDistributionPortals = true;

View file

@ -205,7 +205,10 @@ in
type = "lua";
config = ( builtins.readFile ./files/plugins/nvim-k8s-lsp.lua );
}
vim-helm
{
plugin = helm-ls-nvim;
type = "lua";
}
];
};
};

View file

@ -1,7 +1,8 @@
return {
cmd = { 'helm_ls', 'serve' },
filetypes = { 'helm' },
root_markers = { 'Chart.yaml' },
filetypes = { 'helm', 'yaml.helm-values' },
single_file_support = true,
root_markers = { 'values.yaml', 'Chart.yaml' },
capabilities = {
workspace = {
didChangeWatchedFiles = {
@ -18,9 +19,7 @@ return {
showdiagnosticsdirectly = false,
path = "yaml-language-server",
config = {
schemas = {
kubernetes = "template/**",
},
schemas = {},
completion = true,
hover = true,
}

View file

@ -1,6 +1,6 @@
require("nvim-k8s-lsp").setup({
kubernetes_version = "v1.32.2",
kubernetes_version = "v1.32.8",
integrations = {
lualine = false,
lualine = true,
}
})

View file

@ -74,8 +74,8 @@ in
cpuThermal = {
thermalZone = mkOption {
type = types.str;
default = "";
type = types.int or null;
default = null;
description = "CPU thermal hwmon thermal Zone";
};

View file

@ -101,7 +101,8 @@ button:hover{
#battery.critical:not(.charging),
#cpu.critical,
#memory.critical{
#memory.critical,
#temperature.critical{
border-color: @color-critical;
color: @color-critical;
}