diff --git a/nixos/hyprland/waybar.nix b/nixos/hyprland/waybar.nix index cae7af6..10f039d 100644 --- a/nixos/hyprland/waybar.nix +++ b/nixos/hyprland/waybar.nix @@ -42,14 +42,14 @@ "custom/power" ]; battery = { - format = " {capacity}% {icon} "; - format-alt = " {time} {icon} "; + format = " {time} {icon} "; + format-alt = " {capacity}% {icon} "; format-charging = " {capacity}%  "; format-icons = [ "" "" "" "" "" ]; format-plugged = " {capacity}%  "; states = { - critical = 15; - warning = 30; + critical = 10; + warning = 20; }; }; clock = { diff --git a/nixos/nixvim/default.nix b/nixos/nixvim/default.nix index 3ebaa29..50fe4d8 100644 --- a/nixos/nixvim/default.nix +++ b/nixos/nixvim/default.nix @@ -11,66 +11,24 @@ cmp = { enable = true; autoEnableSources = true; - settings = { - sources = [ - { - name = "nvim_lsp"; - priority = 1000; - option = { - #inherit get_bufnrs; - }; - } - { - name = "nvim_lsp_signature_help"; - priority = 1000; - option = { - #inherit get_bufnrs; - }; - } - { - name = "nvim_lsp_document_symbol"; - priority = 1000; - option = { - # inherit get_bufnrs; - }; - } - { - name = "treesitter"; - priority = 850; - option = { - # inherit get_bufnrs; - }; - } - { - name = "buffer"; - priority = 500; - option = { - # inherit get_bufnrs; - }; - } - { - name = "path"; - priority = 300; - } - ]; }; }; lsp-format = { - enable = true; + enable = false; }; lsp = { - enable = true; + enable = false; inlayHints = true; servers = { nixd = { enable = true; - extraOptions = { - nixos = { - expr = "(builtins.getFlake \"/etc/nixos\").nixosConfigurations.aurelionite.options"; - }; - home_manager = { - expr = "(builtins.getFlake \"/etc/nixos\").homeConfigurations.aurelionite.options"; - }; - }; + #extraOptions = { + # nixos = { + # expr = "(builtins.getFlake \"/etc/nixos\").nixosConfigurations.aurelionite.options"; + #}; + #home_manager = { + # expr = "(builtins.getFlake \"/etc/nixos\").homeConfigurations.aurelionite.options"; + #}; + #}; }; }; };