My NixOS configuration.

feat: New shell utilities

+8 -10
+8 -10
homeManagerModules/muscles/shell.nix
··· 14 14 enable = true; 15 15 enableZshIntegration = true; 16 16 settings = { 17 - add_newline = false; 17 + add_newline = true; 18 18 format = lib.concatStrings [ 19 - "[ ╭── ](white)[$directory](purple)[\${custom.time}](yellow)\n" 19 + "[ ╭── ](white)[$hostname](purple)$directory\n" 20 20 "[ ╰ ](white)$character" 21 21 ]; 22 - custom = { 23 - time = { 24 - command = "date --iso=seconds"; 25 - shell = ["bash" "-c"]; 26 - }; 27 - }; 22 + right_format = lib.concatStrings [ 23 + "[$all](gray)" 24 + ]; 28 25 29 26 # Get editor completions based on the config schema 30 27 "$schema" = "https://starship.rs/config-schema.json"; 31 28 32 29 character = { # The name of the module we are configuring is 'character' 33 - success_symbol = "λ[.](green)"; 34 - error_symbol = "λ[.](red)"; 30 + success_symbol = "[λ](green)"; 31 + error_symbol = "[λ](red)"; 35 32 }; 36 33 37 34 # Disable the package module, hiding it from the prompt completely ··· 66 63 "config" = "nvim \"~/nixos/hm-modules/rices/\""; 67 64 "rebuild" = "doas nixos-rebuild -L --flake ~/nixos#fw13 --show-trace"; 68 65 "ls" = "eza"; 66 + "rm" = "rm -i"; 69 67 }; 70 68 envExtra = '' 71 69 # XDG directories