diff options
| author | seth <[email protected]> | 2023-10-25 10:15:39 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-10-25 10:23:28 -0400 |
| commit | 0c592de60897d5b4a117ea9f871c4547d0a28b73 (patch) | |
| tree | a10d812ad10415f1e3206614db3b5c4d4f3749d8 /parts/users/seth/shell/default.nix | |
| parent | a66d01dbb606d23af4e4b5f4207620524c9ef6e6 (diff) | |
systems+seth: start using ctp-nix
Diffstat (limited to 'parts/users/seth/shell/default.nix')
| -rw-r--r-- | parts/users/seth/shell/default.nix | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/parts/users/seth/shell/default.nix b/parts/users/seth/shell/default.nix index 5f7e24c..0b09bf6 100644 --- a/parts/users/seth/shell/default.nix +++ b/parts/users/seth/shell/default.nix @@ -2,10 +2,7 @@ config, pkgs, ... -}: let - inherit (builtins) fromTOML readFile; - inherit (pkgs) fetchFromGitHub; -in { +}: { imports = [ ./bash.nix ./fish.nix @@ -14,18 +11,7 @@ in { programs = { bat = { enable = true; - config = { - theme = "catppuccin"; - }; - themes = { - catppuccin = readFile (fetchFromGitHub { - owner = "catppuccin"; - repo = "bat"; - rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1"; - sha256 = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw="; - } - + "/Catppuccin-mocha.tmTheme"); - }; + catppuccin.enable = true; }; eza = { @@ -42,16 +28,15 @@ in { { format = "$all"; palette = "catppuccin_mocha"; - command_timeout = 50; + command_timeout = 250; } - // fromTOML (readFile ./starship.toml) - // fromTOML (readFile - (fetchFromGitHub - { + // fromTOML (builtins.readFile ./starship.toml) + // fromTOML (builtins.readFile + (pkgs.fetchFromGitHub { owner = "catppuccin"; repo = "starship"; - rev = "3e3e54410c3189053f4da7a7043261361a1ed1bc"; - sha256 = "sha256-soEBVlq3ULeiZFAdQYMRFuswIIhI9bclIU8WXjxd7oY="; + rev = "5629d2356f62a9f2f8efad3ff37476c19969bd4f"; + hash = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0="; } + "/palettes/mocha.toml")); }; |
