All my system configs and packages in one repo
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

eza: fix fish alias, add ctp theme

+34 -3
+1 -1
modules/hjem-ctp/default.nix
··· 16 16 imports = [ 17 17 global 18 18 19 + ./eza.nix 19 20 ./fcitx5.nix 20 21 ./fish.nix 21 22 ./fuzzel.nix 22 - # ./plasma.nix 23 23 ./vencord.nix 24 24 ./wleave.nix 25 25 ];
+27
modules/hjem-ctp/eza.nix
··· 1 + 2 + # Catppuccin theme for Fuzzel 3 + { 4 + config, 5 + ctp-lib, 6 + lib, 7 + pkgs, 8 + ... 9 + }: 10 + let 11 + cfg = config.ctp.fuzzel; 12 + 13 + src = pkgs.fetchFromGitHub { 14 + owner = "catppuccin"; 15 + repo = "eza"; 16 + rev = "70f805f6cc27fa5b91750b75afb4296a0ec7fec9"; 17 + hash = "sha256-Q+C07IReQQBO5xYuFiFbS1wjmO4gdt/wIJWHNwIizSc="; 18 + }; 19 + in 20 + { 21 + options.ctp.eza = ctp-lib.mkCatppuccinOptions "eza" { withAccent = true; }; 22 + 23 + config = lib.mkIf cfg.enable { 24 + xdg.config.files."eza/theme.yml".source = 25 + "${src}/themes/${cfg.flavor}/catppuccin-${cfg.flavor}-${cfg.accent}.yml"; 26 + }; 27 + }
+6 -2
users/leah/programs/fish.nix
··· 13 13 enable = true; 14 14 inherit (config.programs.fish) package; 15 15 16 - functions.eza = "command eza --git --icons=auto"; 17 - 18 16 abbrs = { 19 17 ls = "eza"; 20 18 ll = "eza -l"; ··· 25 23 26 24 earlyConfigFiles.starship = '' 27 25 ${lib.getExe pkgs.starship} init fish | source 26 + ''; 27 + 28 + config = '' 29 + function eza --wraps eza 30 + command eza --git --icons=auto $argv 31 + end 28 32 ''; 29 33 }; 30 34