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 qrencode
32 nmap
33 file
34 procfd
35 dust
36 zip
37 unzip
38 imagemagick
39 libqalculate
40 p7zip
41 poop
42 file
43 screen
44 util-linux
45 inetutils
46 just
47 man-pages
48 dig
49 doggo
50 tealdeer
51
52 hyfetch
53 fastfetch
54 ]
55 ++ lib.optionals config.cow.gdi.enable [
56 wev
57 ];
58
59 home.shellAliases = lib.mkIf config.cow.utils.batAliases {
60 cat = "bat";
61 man = "batman";
62 bg = "batgrep";
63 bdiff = "batdiff";
64 };
65
66 programs.bat = {
67 enable = true;
68 syntaxes = {
69 nushell.src = ../res/bat-nushell.sublime-syntax.yaml;
70 };
71 extraPackages = with pkgs.bat-extras; [
72 batdiff
73 batman
74 batgrep
75 batwatch
76 ];
77 };
78
79 programs.hyfetch = {
80 enable = true;
81 settings = {
82 backend = "fastfetch";
83 color_align = {
84 custom_colors = [];
85 fore_back = null;
86 mode = "horizontal";
87 };
88 distro = null;
89 light_dark = "dark";
90 lightness = 0.5;
91 mode = "rgb";
92 preset = "gay-men";
93 pride_month_disable = false;
94 pride_month_shown = [];
95 };
96 };
97 };
98}