summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2025-02-13 17:10:37 +0100
committerSilas Schöffel <sils@sils.li>2025-02-13 17:15:06 +0100
commitcdb974f38ee39f9729ef249db00d791be9593e68 (patch)
treecf7cbfe10be03b4ba73acc8a9f44ddf05d8bac04
parentfd: init module (diff)
downloadnix-config-cdb974f38ee39f9729ef249db00d791be9593e68.zip
fastfetch: init module
-rw-r--r--hm/silas/default.nix1
-rw-r--r--hm/sils/default.nix1
-rw-r--r--modules/hm/sils/default.nix1
-rw-r--r--modules/hm/sils/fastfetch.nix16
4 files changed, 19 insertions, 0 deletions
diff --git a/hm/silas/default.nix b/hm/silas/default.nix
index 69b76ab..d37fae2 100644
--- a/hm/silas/default.nix
+++ b/hm/silas/default.nix
@@ -29,6 +29,7 @@
     direnv.enable = true;
     etesync-dav.enable = true;
     fd.enable = true;
+    fastfetch.enable = true;
     firefox.enable = true;
     foot.enable = true;
     git.enable = true;
diff --git a/hm/sils/default.nix b/hm/sils/default.nix
index 5e8071a..ca6d370 100644
--- a/hm/sils/default.nix
+++ b/hm/sils/default.nix
@@ -29,6 +29,7 @@
     direnv.enable = true;
     etesync-dav.enable = true;
     fd.enable = true;
+    fastfetch.enable = true;
     firefox.enable = true;
     foot.enable = true;
     git.enable = true;
diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix
index 41b192b..02ddbd3 100644
--- a/modules/hm/sils/default.nix
+++ b/modules/hm/sils/default.nix
@@ -4,6 +4,7 @@
     ./direnv.nix
     ./etesync-dav.nix
     ./fd.nix
+    ./fastfetch.nix
     ./firefox
     ./foot.nix
     ./git.nix
diff --git a/modules/hm/sils/fastfetch.nix b/modules/hm/sils/fastfetch.nix
new file mode 100644
index 0000000..f3efcab
--- /dev/null
+++ b/modules/hm/sils/fastfetch.nix
@@ -0,0 +1,16 @@
+{
+  config,
+  lib,
+  ...
+}: let
+  cfg = config.sils.fastfetch;
+in {
+  options.sils.fastfetch = {
+    enable = lib.mkEnableOption "fastfetch";
+  };
+  config = lib.mkIf cfg.enable {
+    programs.fastfetch = {
+      enable = true;
+    };
+  };
+}