From e514cfb5b2828107b8037c030f6f6460781a1bd2 Mon Sep 17 00:00:00 2001 From: vanten-s Date: Tue, 6 Aug 2024 23:16:18 +0200 Subject: [PATCH] Added hyfetch --- dotfiles/zshrc | 1 + home-modules/fetch.nix | 19 +++++++++++++++++++ home.nix | 1 + 3 files changed, 21 insertions(+) create mode 100644 home-modules/fetch.nix diff --git a/dotfiles/zshrc b/dotfiles/zshrc index e316687..6111620 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -36,4 +36,5 @@ eval "$(direnv hook zsh)" unsetopt PROMPT_SP export PATH=$PATH:$HOME/.cargo/bin +hyfetch diff --git a/home-modules/fetch.nix b/home-modules/fetch.nix new file mode 100644 index 0000000..99d394d --- /dev/null +++ b/home-modules/fetch.nix @@ -0,0 +1,19 @@ +{ config, pkgs, ... }: +{ + programs.hyfetch = { + enable = true; + settings = { + preset = "transgender"; + mode = "rgb"; + color_align = { + mode = "horizontal"; + }; + backend = "fastfetch"; + light_dark = "dark"; + }; + }; + + home.packages = with pkgs; [ + pkgs.fastfetch + ]; +} diff --git a/home.nix b/home.nix index 3deffa8..1a4a9cd 100644 --- a/home.nix +++ b/home.nix @@ -3,6 +3,7 @@ { imports = [ ./home-modules/emacs.nix + ./home-modules/fetch.nix ]; nixpkgs.config.allowUnfree = true;