~nerosnm/nixos

e7eccca3c7d28246cf618d23efe7f6233f63909d — Søren Mortensen 7 months ago 5e8ca05
Add Starship configuration
M home/soren/default.nix => home/soren/default.nix +1 -0
@@ 32,6 32,7 @@
    imports = [
      ../../program/editor/neovim
      ../../program/terminal/fish
      ../../program/terminal/starship
      ../../program/terminal/tmux
    ];


A program/terminal/starship/configs/starship.toml => program/terminal/starship/configs/starship.toml +3 -0
@@ 0,0 1,3 @@
[nix_shell]
symbol = "❄️ "
format = 'in [$symbol$state( \($name\))]($style) '

A program/terminal/starship/default.nix => program/terminal/starship/default.nix +5 -0
@@ 0,0 1,5 @@
{ config, lib, pkgs, ... }:

{
  xdg.configFile."starship.toml".source = ./configs/starship.toml;
}