First commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# /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"));
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user