From 71007d66a46eea2e5ff4d65df8f65366a01d44fe Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Thu, 17 Nov 2022 17:58:40 +0100 Subject: [PATCH] Add thunderbolt support + update starship --- hm_modules/starship.nix | 15 ++++++++------- odin/common_configuration.nix | 2 ++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/hm_modules/starship.nix b/hm_modules/starship.nix index 61309ae..7555b89 100644 --- a/hm_modules/starship.nix +++ b/hm_modules/starship.nix @@ -4,16 +4,17 @@ enableBashIntegration = true; enableZshIntegration = true; settings = { + command_timeout = 1000; directory.truncation_symbol = "…/"; - hostname.format = "[$hostname]($style) "; - line_break.disabled = true; - nix_shell.symbol = "❄️ "; - python.python_binary = "python3"; + hostname.format = "[$hostname]($style) "; # Disable ssh symbol + # line_break.disabled = true; # Prompt in one line + nix_shell.symbol = "❄️ "; # better soacing + python.python_binary = [ "python3" "python2" ]; status = { - disabled = false; - format = "[$symbol $status]($style) "; + disabled = false; # enable module + format = "[$symbol $status]($style) "; # nicer status format }; - username.format = "[$user]($style)@"; + username.format = "[$user]($style)@"; # compact username format }; }; } diff --git a/odin/common_configuration.nix b/odin/common_configuration.nix index 51a21cf..04c0e43 100644 --- a/odin/common_configuration.nix +++ b/odin/common_configuration.nix @@ -48,6 +48,8 @@ with lib; { ]; }; + services.hardware.bolt.enable = true; + # Set your time zone. time.timeZone = "Europe/Rome";