summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/hyfetch/default.nix19
-rw-r--r--hm/packages/default.nix1
-rw-r--r--hm/silas/default.nix2
-rw-r--r--hm/sils/default.nix2
-rw-r--r--modules/hm/sils/default.nix1
-rw-r--r--modules/hm/sils/hyfetch.nix31
6 files changed, 34 insertions, 22 deletions
diff --git a/hm/hyfetch/default.nix b/hm/hyfetch/default.nix
deleted file mode 100644
index 596b26d..0000000
--- a/hm/hyfetch/default.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{...}: {
-  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 = [];
-    };
-  };
-}
diff --git a/hm/packages/default.nix b/hm/packages/default.nix
index d37ff18..5e5c246 100644
--- a/hm/packages/default.nix
+++ b/hm/packages/default.nix
@@ -12,7 +12,6 @@ in {
     godot_4 # gameengine
     # core tools
     neofetch # a must-have
-    hyfetch # permanent suggestions have their moments
     fd # fast find
     lsd # ls in good
     ripgrep # amazing grep
diff --git a/hm/silas/default.nix b/hm/silas/default.nix
index e108aa4..ca447ee 100644
--- a/hm/silas/default.nix
+++ b/hm/silas/default.nix
@@ -3,7 +3,6 @@
     ../../modules/hm
     ../gpg
     ../gtk
-    ../hyfetch
     ../mako
     ../nixvim
     ../packages
@@ -32,6 +31,7 @@
     firefox.enable = true;
     foot.enable = true;
     git.enable = true;
+    hyfetch.enable = true;
     hyprland.enable = true;
     jameica.enable = true;
     kdeconnect.enable = true;
diff --git a/hm/sils/default.nix b/hm/sils/default.nix
index a078a7b..a2b1d9e 100644
--- a/hm/sils/default.nix
+++ b/hm/sils/default.nix
@@ -3,7 +3,6 @@
     ../../modules/hm
     ../gpg
     ../gtk
-    ../hyfetch
     ../mako
     ../nixvim
     ../packages
@@ -32,6 +31,7 @@
     firefox.enable = true;
     foot.enable = true;
     git.enable = true;
+    hyfetch.enable = true;
     hyprland.enable = true;
     jameica.enable = true;
     kdeconnect.enable = true;
diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix
index a3ff1ed..34731a7 100644
--- a/modules/hm/sils/default.nix
+++ b/modules/hm/sils/default.nix
@@ -6,6 +6,7 @@
     ./firefox
     ./foot.nix
     ./git.nix
+    ./hyfetch.nix
     ./hyprland.nix
     ./jameica.nix
     ./kdeconnect.nix
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 = [];
+      };
+    };
+  };
+}