mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-09 22:19:42 +00:00
Add fastfetch + toggleability
This commit is contained in:
parent
5df0ffe4e5
commit
8b89b321e8
|
@ -9,6 +9,7 @@ _: {
|
|||
./zoxide.nix
|
||||
./tealdeer.nix
|
||||
./hyfetch.nix
|
||||
./fastfetch.nix
|
||||
./btop.nix
|
||||
./bottom.nix
|
||||
./bat.nix
|
||||
|
|
14
home/programs/terminal/tools/fastfetch.nix
Normal file
14
home/programs/terminal/tools/fastfetch.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.tools.fastfetch;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
programs.fastfetch.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.tools.hyfetch;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
programs.hyfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -7,8 +16,8 @@
|
|||
light_dark = "dark";
|
||||
lightness = 0.65;
|
||||
color_align = {
|
||||
mode = "horizontal";
|
||||
custom_colors = [];
|
||||
mode = "custom";
|
||||
custom_colors = {};
|
||||
force_back = null;
|
||||
};
|
||||
backend = "neofetch";
|
||||
|
@ -18,4 +27,5 @@
|
|||
pride_month_disable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -136,6 +136,10 @@
|
|||
chromium.enable = true;
|
||||
mullvad-browser.enable = true;
|
||||
};
|
||||
tools = {
|
||||
fastfetch.enable = true;
|
||||
hyfetch.enable = true;
|
||||
};
|
||||
spotify.enable = true;
|
||||
stremio.enable = true;
|
||||
vesktop = {
|
||||
|
|
|
@ -32,5 +32,10 @@ in
|
|||
enable = mkEnableOption "Vesktop (An alternate client for Discord with Vencord built-in)";
|
||||
autoStart = mkEnableOption "Auto-Start for Vesktop";
|
||||
};
|
||||
|
||||
tools = {
|
||||
fastfetch.enable = mkEnableOption "FastFetch (fast neofetch)";
|
||||
hyfetch.enable = mkEnableOption "Neofetch with pride flags";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue