From 16d47d521476a8380ea17a229b8fa938c64cbb25 Mon Sep 17 00:00:00 2001 From: Toast Date: Wed, 10 Apr 2024 10:50:42 +0200 Subject: [PATCH] Common/starship: setup using home manager and use catppuccin modue --- roles/common/programs/starship.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/common/programs/starship.nix b/roles/common/programs/starship.nix index 8e60667..527034a 100644 --- a/roles/common/programs/starship.nix +++ b/roles/common/programs/starship.nix @@ -49,4 +49,13 @@ in { } ]; }; + # The catppuccin module only works for home-manager, so this + # sets up starship with home-manager using the system config + home-manager.users.toast = {osConfig, ...}: { + programs.starship = { + enable = true; + catppuccin.enable = true; + settings = osConfig.programs.starship.settings; + }; + }; }