diff --git a/hosts/work/home-config.nix b/hosts/work/home-config.nix index 0155435..733c542 100644 --- a/hosts/work/home-config.nix +++ b/hosts/work/home-config.nix @@ -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; diff --git a/modules/home-manager/cli/neovim/default.nix b/modules/home-manager/cli/neovim/default.nix index ee3302e..c62c384 100644 --- a/modules/home-manager/cli/neovim/default.nix +++ b/modules/home-manager/cli/neovim/default.nix @@ -205,7 +205,10 @@ in type = "lua"; config = ( builtins.readFile ./files/plugins/nvim-k8s-lsp.lua ); } - vim-helm + { + plugin = helm-ls-nvim; + type = "lua"; + } ]; }; }; diff --git a/modules/home-manager/cli/neovim/files/lsp/helm.lua b/modules/home-manager/cli/neovim/files/lsp/helm.lua index 8086a4a..29e9e11 100644 --- a/modules/home-manager/cli/neovim/files/lsp/helm.lua +++ b/modules/home-manager/cli/neovim/files/lsp/helm.lua @@ -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, } diff --git a/modules/home-manager/cli/neovim/files/plugins/nvim-k8s-lsp.lua b/modules/home-manager/cli/neovim/files/plugins/nvim-k8s-lsp.lua index a2176c6..400c8a1 100644 --- a/modules/home-manager/cli/neovim/files/plugins/nvim-k8s-lsp.lua +++ b/modules/home-manager/cli/neovim/files/plugins/nvim-k8s-lsp.lua @@ -1,6 +1,6 @@ require("nvim-k8s-lsp").setup({ - kubernetes_version = "v1.32.2", + kubernetes_version = "v1.32.8", integrations = { - lualine = false, + lualine = true, } }) diff --git a/modules/home-manager/desktop/sway/default.nix b/modules/home-manager/desktop/sway/default.nix index b3950e7..d8fa2ff 100644 --- a/modules/home-manager/desktop/sway/default.nix +++ b/modules/home-manager/desktop/sway/default.nix @@ -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"; }; diff --git a/modules/home-manager/desktop/sway/includes/files/waybar-style.css b/modules/home-manager/desktop/sway/includes/files/waybar-style.css index f7cc59f..d1dd1a2 100644 --- a/modules/home-manager/desktop/sway/includes/files/waybar-style.css +++ b/modules/home-manager/desktop/sway/includes/files/waybar-style.css @@ -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; }