added: hyfetch

This commit is contained in:
2026-01-03 17:01:36 +00:00
parent 28e7c64262
commit 95178cab63
4 changed files with 65 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
}:
{
modules = {
hyfetch.enable = true;
Hyprland = {
enable = true;
suspend-on-hibernate = true;

View File

@@ -0,0 +1,4 @@
_: {
home = ./home.nix;
# nixos = ./nixos.nix;
}

40
modules/hyfetch/home.nix Normal file
View File

@@ -0,0 +1,40 @@
{
config,
lib,
pkgs,
fetchFromGitHub,
...
}:
let
cfg = config.modules.hyfetch;
in
{
options.modules.hyfetch = {
enable = lib.mkEnableOption "hyfetchm";
};
config = lib.mkIf cfg.enable {
home.packages = [ ] // [ pkgs.fastfetch ];
hyfetch = {
enable = true;
settings = {
"preset" = "bisexual";
"mode" = "rgb";
"auto_detect_light_dark" = true;
"light_dark" = "dark";
"lightness" = 0.5;
"color_align" = {
"mode" = "custom";
"custom_colors" = {
"1" = 1;
"2" = 0;
};
};
"backend" = "fastfetch";
"args" = null;
"distro" = null;
"pride_month_disable" = false;
"custom_ascii_path" = null;
};
};
};
}

20
modules/hyfetch/nixos.nix Normal file
View File

@@ -0,0 +1,20 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.fish;
in
{
options.modules.fish = {
enable = lib.mkEnableOption "Fish";
};
config = lib.mkIf cfg.enable {
users.defaultUserShell = pkgs.fish;
programs.fish = {
enable = true;
};
};
}