From 6cb75f59576456c597aee7e543cd166bb6539aeb Mon Sep 17 00:00:00 2001 From: Adrian G L Date: Tue, 9 Dec 2025 23:07:55 +0100 Subject: [PATCH] treefmt --- home/colors.nix | 32 ++++++++++++++++---------------- home/foot.nix | 42 +++++++++++++++++++++--------------------- home/neovim.nix | 12 ++++++------ modules/docling.nix | 13 ++++++------- 4 files changed, 49 insertions(+), 50 deletions(-) diff --git a/home/colors.nix b/home/colors.nix index 6ca5d0e..8863a9d 100644 --- a/home/colors.nix +++ b/home/colors.nix @@ -35,22 +35,22 @@ # base0F = "70d0c0"; # Deprecated tags - light teal ## catppuccin mocha based - base00 = "0b1c1a"; # Default background — deeper teal-dark background - base01 = "153532"; # Lighter background / status bars - base02 = "1b3d39"; # Selection background / line highlight - base03 = "275454"; # Comments, secondary UI elements - base04 = "6f7389"; # Dark foreground / secondary text - base05 = "95a0b8"; # Default foreground / main text - base06 = "a8b2ce"; # Light foreground / lighter UI elements - base07 = "ccdffa"; # Lightest background / highlight background - base08 = "f38ba8"; # Errors, alerts — red-pink accent - base09 = "e0a878"; # Numbers, constants — muted peach/orange - base0A = "b8c071"; # Warnings, highlights — golden-yellow - base0B = "4fbf93"; # Strings, inserts — teal-green - base0C = "2ac5c2"; # Support, escape/sequences — cyan-teal - base0D = "2fa6b0"; # Functions, types — classic teal-blue - base0E = "c7a8f5"; # Keywords, special — soft magenta/purple - base0F = "b2b4cf"; # Deprecated / special tags — light cool grey-lavender + base00 = "0b1c1a"; # Default background — deeper teal-dark background + base01 = "153532"; # Lighter background / status bars + base02 = "1b3d39"; # Selection background / line highlight + base03 = "275454"; # Comments, secondary UI elements + base04 = "6f7389"; # Dark foreground / secondary text + base05 = "95a0b8"; # Default foreground / main text + base06 = "a8b2ce"; # Light foreground / lighter UI elements + base07 = "ccdffa"; # Lightest background / highlight background + base08 = "f38ba8"; # Errors, alerts — red-pink accent + base09 = "e0a878"; # Numbers, constants — muted peach/orange + base0A = "b8c071"; # Warnings, highlights — golden-yellow + base0B = "4fbf93"; # Strings, inserts — teal-green + base0C = "2ac5c2"; # Support, escape/sequences — cyan-teal + base0D = "2fa6b0"; # Functions, types — classic teal-blue + base0E = "c7a8f5"; # Keywords, special — soft magenta/purple + base0F = "b2b4cf"; # Deprecated / special tags — light cool grey-lavender }; }; } diff --git a/home/foot.nix b/home/foot.nix index bc3ee67..cef0a3b 100644 --- a/home/foot.nix +++ b/home/foot.nix @@ -20,29 +20,29 @@ }; #colors = { - #alpha = "0.7"; - #foreground = "${config.colorScheme.palette.base05}"; - #background = "${config.colorScheme.palette.base00}"; + #alpha = "0.7"; + #foreground = "${config.colorScheme.palette.base05}"; + #background = "${config.colorScheme.palette.base00}"; - #regular0 = "${config.colorScheme.palette.base00}"; - #regular1 = "${config.colorScheme.palette.base08}"; - #regular2 = "${config.colorScheme.palette.base0B}"; - #regular3 = "${config.colorScheme.palette.base0A}"; - #regular4 = "${config.colorScheme.palette.base0D}"; - #regular5 = "${config.colorScheme.palette.base0E}"; - #regular6 = "${config.colorScheme.palette.base0C}"; - #regular7 = "${config.colorScheme.palette.base05}"; + #regular0 = "${config.colorScheme.palette.base00}"; + #regular1 = "${config.colorScheme.palette.base08}"; + #regular2 = "${config.colorScheme.palette.base0B}"; + #regular3 = "${config.colorScheme.palette.base0A}"; + #regular4 = "${config.colorScheme.palette.base0D}"; + #regular5 = "${config.colorScheme.palette.base0E}"; + #regular6 = "${config.colorScheme.palette.base0C}"; + #regular7 = "${config.colorScheme.palette.base05}"; - #bright0 = "${config.colorScheme.palette.base03}"; - #bright1 = "${config.colorScheme.palette.base08}"; - #bright2 = "${config.colorScheme.palette.base0B}"; - #bright3 = "${config.colorScheme.palette.base0A}"; - #bright4 = "${config.colorScheme.palette.base0D}"; - #bright5 = "${config.colorScheme.palette.base0E}"; - #bright6 = "${config.colorScheme.palette.base0C}"; - #bright7 = "${config.colorScheme.palette.base07}"; - #selection-foreground = "${config.colorScheme.palette.base00}"; - #selection-background = "${config.colorScheme.palette.base0A}"; + #bright0 = "${config.colorScheme.palette.base03}"; + #bright1 = "${config.colorScheme.palette.base08}"; + #bright2 = "${config.colorScheme.palette.base0B}"; + #bright3 = "${config.colorScheme.palette.base0A}"; + #bright4 = "${config.colorScheme.palette.base0D}"; + #bright5 = "${config.colorScheme.palette.base0E}"; + #bright6 = "${config.colorScheme.palette.base0C}"; + #bright7 = "${config.colorScheme.palette.base07}"; + #selection-foreground = "${config.colorScheme.palette.base00}"; + #selection-background = "${config.colorScheme.palette.base0A}"; #}; }; diff --git a/home/neovim.nix b/home/neovim.nix index fba1624..57f6957 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -5,7 +5,7 @@ viAlias = true; vimAlias = true; defaultEditor = true; - + # Required for render-markdown and coc withPython3 = true; withNodeJs = true; @@ -32,20 +32,20 @@ vim-lastplace vim-nix vim-yaml - + # --- Coding / LSP (CoC) --- # Keeping CoC as requested (switching to Native LSP is a bigger task) coc-nvim coc-vimtex coc-rust-analyzer - + # --- Markdown / LaTeX / Typst --- vimtex typst-vim typst-preview-nvim render-markdown-nvim markdown-preview-nvim - + # --- AI --- aider-nvim @@ -75,7 +75,7 @@ vim.opt.expandtab = true vim.opt.smarttab = true vim.opt.autoindent = true - + -- Clipboard setup vim.opt.clipboard = "unnamedplus" @@ -111,7 +111,7 @@ extraConfig = '' syntax on set mouse=a - + " --- CoC Configuration --- " Use Tab to trigger completion and navigate inoremap diff --git a/modules/docling.nix b/modules/docling.nix index 3fd936b..e2c935e 100644 --- a/modules/docling.nix +++ b/modules/docling.nix @@ -6,16 +6,15 @@ }: { - nixpkgs.config.allowBroken = true; services.docling-serve = { - enable = true; - port = 5001; - host = "127.0.0.1"; - openFirewall = true; - #environment - #environmentFile + enable = true; + port = 5001; + host = "127.0.0.1"; + openFirewall = true; + #environment + #environmentFile }; }