treefmt-check
checks.x86_64-linux.formatting
· build #34
· raw
1treefmt v2.6.0traversed 1596 files2emitted 852 files for processing3formatted 852 files (9 changed) in 1.255s4 M config/bash/flyline.sh5 M config/nvim/lua/init-manual.lua6 M hm/profiles/teto-desktop/programs/fish.nix7 M hm/profiles/teto-desktop/programs/rofi.nix8 M hm/profiles/teto-desktop/xdg/default.nix9 M hosts/jedha/services/avahi.nix10 M hosts/jedha/services/opentelemetry-collector.nix11 M nixos/profiles/avahi.nix12 M nixos/profiles/desktop/programs/flyline.nix13diff --git a/config/bash/flyline.sh b/config/bash/flyline.sh14index 1454d9f..50cfca0 10064415--- a/config/bash/flyline.sh16+++ b/config/bash/flyline.sh17@@ -8,12 +8,11 @@ flyline history --backend flyline18 19 flyline set-cursor --backend flyline --style "#33ccff" --effect fade --effect-easing in-out-sine --interpolate-easing out-elastic --interpolate 220 21-# Codex: change 22+# Codex: change23 flyline set-agent-mode \24- --system-prompt "Be concise. Answer with a JSON array of at most 3 items with objects containing: command and description. Command will be a Bash command. " \25- --trigger-prefix ': ' \26- --command 'codex -a never exec -m GPT-5.1-Codex-Mini --skip-git-repo-check --ephemeral --color always'27-28+ --system-prompt "Be concise. Answer with a JSON array of at most 3 items with objects containing: command and description. Command will be a Bash command. " \29+ --trigger-prefix ': ' \30+ --command 'codex -a never exec -m GPT-5.1-Codex-Mini --skip-git-repo-check --ephemeral --color always'31 32 # Antigravity:33 # flyline set-agent-mode \34@@ -24,7 +23,6 @@ flyline set-agent-mode \35 flyline create-prompt-widget mouse-mode --name MOUSE_MODE "${ANSI_GREEN}M" "${ANSI_BRIGHT_RED}X"36 flyline create-prompt-widget last-command-duration --name FLYLINE_LAST_COMMAND_DUR37 38-39 # precmd_functions+=(set_ps1)40 # Now you can use this animation in your prompt. For example:41 PS1='\u@\h:\w MOUSE_MODE \n$ '42@@ -47,8 +45,7 @@ PROMPT_RULER_FINAL=''43 # flyline settings vim_mode true44 # flyline vim_mode45 46-flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ ⣯ ⣟ ⡿ ⢿ ⣻ ⣽47-48+flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ ⣯ ⣟ ⡿ ⢿ ⣻ ⣽49 50 # This replaces any instance of "john" with the animation, so it will animate every time "john" appears in the prompt.51 # flyline create-prompt-widget animation --name "john" --ping-pong --fps 8 \52@@ -62,7 +59,6 @@ flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ 53 # john \54 # john55 56-57 # Experiment with higher frame rates for smooth transitions:58 # flyline create-prompt-widget animation --name "john" --fps 24 \59 # '\e[38;2;255;0;0m\u' \60@@ -128,4 +124,4 @@ flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ 61 # '\e[38;2;255;0;63m\u' \62 # '\e[38;2;255;0;47m\u' \63 # '\e[38;2;255;0;31m\u' \64-# '\e[38;2;255;0;15m\u' 65+# '\e[38;2;255;0;15m\u'66diff --git a/config/nvim/lua/init-manual.lua b/config/nvim/lua/init-manual.lua67index 57efcbb..2f38a93 10064468--- a/config/nvim/lua/init-manual.lua69+++ b/config/nvim/lua/init-manual.lua70@@ -1356,4 +1356,3 @@ vim.api.nvim_create_autocmd({ 'User' }, {71 end)72 end,73 })74-75diff --git a/hm/profiles/teto-desktop/programs/fish.nix b/hm/profiles/teto-desktop/programs/fish.nix76index 6d20da3..481eda7 10064477--- a/hm/profiles/teto-desktop/programs/fish.nix78+++ b/hm/profiles/teto-desktop/programs/fish.nix79@@ -195,7 +195,6 @@ in80 nix develop ~/home#$(basename $PWD)"81 '';82 83-84 };85 86 # onProcessExit87diff --git a/hm/profiles/teto-desktop/programs/rofi.nix b/hm/profiles/teto-desktop/programs/rofi.nix88index be52e45..f9d09d8 10064489--- a/hm/profiles/teto-desktop/programs/rofi.nix90+++ b/hm/profiles/teto-desktop/programs/rofi.nix91@@ -37,8 +37,8 @@92 93 location = "center";94 modes = [95- # modes: [ combi ];96- # combi-modes: [ window, drun, run ];97+ # modes: [ combi ];98+ # combi-modes: [ window, drun, run ];99 100 ];101 102diff --git a/hm/profiles/teto-desktop/xdg/default.nix b/hm/profiles/teto-desktop/xdg/default.nix103index 0dad1af..11dd2ad 100644104--- a/hm/profiles/teto-desktop/xdg/default.nix105+++ b/hm/profiles/teto-desktop/xdg/default.nix106@@ -101,12 +101,12 @@107 "bash/bashrc".text = ''108 script_dir="$(cd -- "$(dirname -- "''${BASH_SOURCE[0]}")" && pwd)"109 source "$script_dir/manual.sh"110- ''111- # check if flyline defined too ?112- + lib.optionalString osConfig.programs.flyline.enable '' 113- source "$script_dir/flyline.sh"114+ ''115+ # check if flyline defined too ?116+ + lib.optionalString osConfig.programs.flyline.enable ''117+ source "$script_dir/flyline.sh"118 119- '';120+ '';121 122 "nvim/lua/generated-by-nix.lua" =123 let124diff --git a/hosts/jedha/services/avahi.nix b/hosts/jedha/services/avahi.nix125index d71a01b..3dd64ae 100644126--- a/hosts/jedha/services/avahi.nix127+++ b/hosts/jedha/services/avahi.nix128@@ -30,13 +30,12 @@129 };130 131 publish = {132- disable-publishing = false;133- disable-user-service-publishing = false;134- publish-addresses = true;135- };136-137+ disable-publishing = false;138+ disable-user-service-publishing = false;139+ publish-addresses = true;140 };141 142+ };143 144 nssmdns4 = true;145 # publish = {146diff --git a/hosts/jedha/services/opentelemetry-collector.nix b/hosts/jedha/services/opentelemetry-collector.nix147index 28cc3b4..1d1609c 100644148--- a/hosts/jedha/services/opentelemetry-collector.nix149+++ b/hosts/jedha/services/opentelemetry-collector.nix150@@ -1,23 +1,22 @@151 {152 153-154 enable = true;155 156 settings =157-let158- port = 4318;159-in160+ let161+ port = 4318;162+ in163 {164- exporters.debug.verbosity = "detailed";165- receivers.otlp.protocols = {166- http.endpoint = "0.0.0.0:${toString port}";167- };168- service = {169- pipelines.logs = {170- receivers = [ "otlp" ];171- exporters = [ "debug" ];172- };173- };174+ exporters.debug.verbosity = "detailed";175+ receivers.otlp.protocols = {176+ http.endpoint = "0.0.0.0:${toString port}";177+ };178+ service = {179+ pipelines.logs = {180+ receivers = [ "otlp" ];181+ exporters = [ "debug" ];182+ };183+ };184 185- };186+ };187 }188diff --git a/nixos/profiles/avahi.nix b/nixos/profiles/avahi.nix189index 3c1971b..ea3fa0f 100644190--- a/nixos/profiles/avahi.nix191+++ b/nixos/profiles/avahi.nix192@@ -25,7 +25,7 @@193 194 server = {195 196- # List of non-local DNS domains to be browsed.197+ # List of non-local DNS domains to be browsed.198 browse-domains = [199 # "0pointer.de"200 # "zeroconf.org"201diff --git a/nixos/profiles/desktop/programs/flyline.nix b/nixos/profiles/desktop/programs/flyline.nix202index 3f9282d..9039e39 100644203--- a/nixos/profiles/desktop/programs/flyline.nix204+++ b/nixos/profiles/desktop/programs/flyline.nix205@@ -1,5 +1,5 @@206 {207 enable = true;208- # 209+ #210 # package = ;211 }