aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hm/sils/hyfetch.nix
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2025-02-13 17:03:13 +0100
committerSilas Schöffel <sils@sils.li>2025-02-13 17:03:13 +0100
commitb815712b30023f82517372338ef471eb46bab39c (patch)
tree630934399d66fe5db5bb3ceb5223bd242e904585 /modules/hm/sils/hyfetch.nix
parentsystemd: change HibernateDelaySec to 10m (diff)
downloadnix-config-b815712b30023f82517372338ef471eb46bab39c.zip
hyfetch: init module
Diffstat (limited to 'modules/hm/sils/hyfetch.nix')
-rw-r--r--modules/hm/sils/hyfetch.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/hm/sils/hyfetch.nix b/modules/hm/sils/hyfetch.nix
new file mode 100644
index 0000000..b40a37e
--- /dev/null
+++ b/modules/hm/sils/hyfetch.nix
@@ -0,0 +1,31 @@
+{
+ config,
+ lib,
+ ...
+}: let
+ cfg = config.sils.hyfetch;
+in {
+ options.sils.hyfetch = {
+ enable = lib.mkEnableOption "hyfetch";
+ };
+
+ config = lib.mkIf cfg.enable {
+ programs.hyfetch = {
+ enable = true;
+ settings = {
+ preset = "rainbow";
+ mode = "rgb";
+ light_dark = "dark";
+ lightness = 0.5;
+ color_align = {
+ mode = "horizontal";
+ custom_colors = [];
+ fore_back = null;
+ };
+ backend = "neofetch";
+ distro = null;
+ pride_month_shown = [];
+ };
+ };
+ };
+}