summaryrefslogtreecommitdiff
path: root/users/seth/programs/starship/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/seth/programs/starship/default.nix')
-rw-r--r--users/seth/programs/starship/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/users/seth/programs/starship/default.nix b/users/seth/programs/starship/default.nix
new file mode 100644
index 0000000..76f528e
--- /dev/null
+++ b/users/seth/programs/starship/default.nix
@@ -0,0 +1,22 @@
+{pkgs, ...}: {
+ programs.starship = {
+ enable = true;
+ enableBashIntegration = false;
+ enableZshIntegration = false;
+ settings =
+ {
+ format = "$all";
+ palette = "catppuccin_mocha";
+ command_timeout = 250;
+ }
+ // fromTOML (builtins.readFile ./starship.toml)
+ // fromTOML (builtins.readFile
+ (pkgs.fetchFromGitHub {
+ owner = "catppuccin";
+ repo = "starship";
+ rev = "5629d2356f62a9f2f8efad3ff37476c19969bd4f";
+ hash = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0=";
+ }
+ + "/palettes/mocha.toml"));
+ };
+}