Files
nextcloud_ecosystem/OLD CONFIGS/nix_new/modules/home-manager/shell/starship.nix
T
2026-02-22 17:28:02 +01:00

23 lines
600 B
Nix

# /home/henrov/nixos/modules/home-manager/shell/starship.nix
#
# Home Manager Starship prompt configuration.
# Configuration is sourced from: ~/nixos/files/conf/terminal/starship.toml
{ config, lib, pkgs, ... }:
let
# From: nixos/modules/home-manager/shell -> nixos/files/conf/terminal
confDir = ../../../files/conf/terminal;
in
{
programs.starship = {
enable = true;
# Let Starship hook into shells managed by Home Manager.
enableZshIntegration = true;
enableBashIntegration = true;
settings = builtins.fromTOML (builtins.readFile (confDir + "/starship.toml"));
};
}