fish.nix 523 B

12345678910111213141516171819202122
  1. { lib
  2. , pkgs
  3. , ...
  4. }: {
  5. programs.fish = {
  6. enable = true;
  7. shellAliases = import ./shell-aliases.nix;
  8. interactiveShellInit = lib.mkAfter ''
  9. fish_config theme choose "Catppuccin Frappe"
  10. '';
  11. };
  12. xdg.configFile."fish/themes/Catppuccin Frappe.theme".text = lib.strings.fileContents (pkgs.fetchFromGitHub
  13. {
  14. owner = "catppuccin";
  15. repo = "fish";
  16. rev = "cc8e4d8";
  17. sha256 = "sha256-udiU2TOh0lYL7K7ylbt+BGlSDgCjMpy75vQ98C1kFcc=";
  18. }
  19. + "/themes/Catppuccin Frappe.theme");
  20. }