feat(hyfetch): add hyfetch with alias fetch

This commit is contained in:
Mohammad Rafiq 2025-04-02 04:26:44 +08:00
parent 4264c2c7c5
commit 6ff2570404
No known key found for this signature in database
3 changed files with 24 additions and 1 deletions

View file

@ -33,6 +33,7 @@
interfaces.enp12s0.wakeOnLan.enable = true; interfaces.enp12s0.wakeOnLan.enable = true;
}; };
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.settings.PrintMotd = true;
services.tailscale = { services.tailscale = {
enable = true; enable = true;
authKeyFile = config.sops.secrets.ts_auth_key.path; authKeyFile = config.sops.secrets.ts_auth_key.path;

View file

@ -0,0 +1,22 @@
{ pkgs, ... }:
{
home-manager.users.rafiq = {
home.packages = [ pkgs.fastfetch ];
home.shellAliases.fetch = "hyfetch";
programs.hyfetch = {
enable = true;
settings = {
preset = "bisexual";
mode = "rgb";
light_dark = "dark";
lightness = 0.5;
color_align = {
mode = "horizontal";
custom_colors = [ ];
fore_back = null;
};
backend = "fastfetch";
};
};
};
}

View file

@ -8,6 +8,7 @@
./programs/editorconfig.nix ./programs/editorconfig.nix
./programs/fzf.nix ./programs/fzf.nix
./programs/git.nix ./programs/git.nix
./programs/hyfetch.nix
./programs/nh.nix ./programs/nh.nix
./programs/nvf.nix ./programs/nvf.nix
./programs/starship.nix ./programs/starship.nix
@ -40,7 +41,6 @@
bat bat
btop # add settings as home-manager module btop # add settings as home-manager module
devenv devenv
fastfetch
ripgrep ripgrep
ttyper ttyper
eza eza