Added nixos configs

This commit is contained in:
2026-02-22 19:25:39 +01:00
parent c0f19a200d
commit 8694deed28
9013 changed files with 118058 additions and 0 deletions
@@ -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"));
};
}