Compare commits

...

5 commits

6 changed files with 15 additions and 13 deletions

View file

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

View file

@ -205,7 +205,10 @@ in
type = "lua"; type = "lua";
config = ( builtins.readFile ./files/plugins/nvim-k8s-lsp.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 { return {
cmd = { 'helm_ls', 'serve' }, cmd = { 'helm_ls', 'serve' },
filetypes = { 'helm' }, filetypes = { 'helm', 'yaml.helm-values' },
root_markers = { 'Chart.yaml' }, single_file_support = true,
root_markers = { 'values.yaml', 'Chart.yaml' },
capabilities = { capabilities = {
workspace = { workspace = {
didChangeWatchedFiles = { didChangeWatchedFiles = {
@ -18,9 +19,7 @@ return {
showdiagnosticsdirectly = false, showdiagnosticsdirectly = false,
path = "yaml-language-server", path = "yaml-language-server",
config = { config = {
schemas = { schemas = {},
kubernetes = "template/**",
},
completion = true, completion = true,
hover = true, hover = true,
} }

View file

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

View file

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

View file

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