this repo has no description
1{
2 config,
3 lib,
4 pkgs,
5 ...
6}: {
7 options.cow.utils = {
8 enable =
9 (lib.mkEnableOption "Handy utilities to have")
10 // {
11 default = true;
12 };
13 batAliases =
14 (lib.mkEnableOption "Aliases for bat commands in the shell")
15 // {
16 default = true;
17 };
18 };
19
20 config = lib.mkIf config.cow.utils.enable {
21 cow = {
22 btop.enable = true;
23 ddhx.enable = true;
24 };
25
26 home.packages = with pkgs;
27 [
28 ripgrep
29 binutils
30 usbutils
31 file
32 procfd
33 dust
34 zip
35 unzip
36 libqalculate
37 p7zip
38 file
39 screen
40 util-linux
41 inetutils
42 just
43 man-pages
44 dig
45 tealdeer
46
47 hyfetch
48 fastfetch
49 ]
50 ++ lib.optionals config.cow.gdi.enable [
51 wev
52 ];
53
54 home.shellAliases = lib.mkIf config.cow.utils.batAliases {
55 cat = "bat";
56 man = "batman";
57 bg = "batgrep";
58 bdiff = "batdiff";
59 };
60
61 programs.bat = {
62 enable = true;
63 syntaxes = {
64 nushell.src = ../res/bat-nushell.sublime-syntax.yaml;
65 };
66 extraPackages = with pkgs.bat-extras; [
67 batdiff
68 batman
69 batgrep
70 batwatch
71 ];
72 };
73
74 programs.hyfetch = {
75 enable = true;
76 settings = {
77 backend = "fastfetch";
78 color_align = {
79 custom_colors = [];
80 fore_back = null;
81 mode = "horizontal";
82 };
83 distro = null;
84 light_dark = "dark";
85 lightness = 0.5;
86 mode = "rgb";
87 preset = "gay-men";
88 pride_month_disable = false;
89 pride_month_shown = [];
90 };
91 };
92 };
93}