diff --git a/configurations/profile/home/editor/code.nix b/configurations/profile/home/editor/code.nix index cf8bc50..662a4f4 100644 --- a/configurations/profile/home/editor/code.nix +++ b/configurations/profile/home/editor/code.nix @@ -1,6 +1,6 @@ { config, lib, pkgs, materusPkgs, ... }: -let -cfg = config.materus.profile.editor.code; +let + cfg = config.materus.profile.editor.code; in { options.materus.profile.editor.code.enable = materusPkgs.lib.mkBoolOpt config.materus.profile.enableDesktop "Enable VSCodium with materus cfg"; @@ -8,7 +8,18 @@ in config = lib.mkIf cfg.enable { programs.vscode = { enable = lib.mkDefault true; - package = lib.mkDefault (pkgs.vscodium.fhsWithPackages (ps: with ps; [ gcc clang llvm lld lldb gdb rnix-hashes rnix-lsp nixfmt])); + package = lib.mkDefault (pkgs.vscodium.fhsWithPackages (ps: with ps; [ + gcc + clang + llvm + lld + lldb + gdb + rnix-hashes + rnix-lsp + nixfmt + (python311.withPackages (ps: with ps; [ urllib3 ])) + ])); mutableExtensionsDir = lib.mkDefault true; }; materus.profile.fonts.enable = lib.mkDefault true; diff --git a/configurations/profile/home/shell/starship.nix b/configurations/profile/home/shell/starship.nix index 35a92c2..6f478a2 100644 --- a/configurations/profile/home/shell/starship.nix +++ b/configurations/profile/home/shell/starship.nix @@ -9,7 +9,40 @@ in config = lib.mkIf cfg.enable { programs.starship.enable = lib.mkDefault cfg.enable; - programs.starship.settings = lib.mkDefault { }; + programs.starship.settings = { + python = { + symbol = " "; + }; + + format = "$username@$hostname$all"; + right_format = "$cmd_duration $time"; + + time = { + disabled = false; + style = "bold bright-black"; + format = "[$time]($style)"; + }; + + line_break = { disabled = true; }; + shell = { + disabled = false; + fish_indicator = "fish"; + bash_indicator= "bash"; + zsh_indicator= "zsh"; + style = "blue bold"; + }; + + hostname = { + ssh_only = false; + }; + username = { + disabled = false; + show_always = true; + format = "[$user]($style)"; + style_user = "white bold"; + style_root = "black bold"; + }; + }; }; }