From cdb974f38ee39f9729ef249db00d791be9593e68 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Thu, 13 Feb 2025 17:10:37 +0100 Subject: fastfetch: init module --- hm/silas/default.nix | 1 + hm/sils/default.nix | 1 + modules/hm/sils/default.nix | 1 + modules/hm/sils/fastfetch.nix | 16 ++++++++++++++++ 4 files changed, 19 insertions(+) create mode 100644 modules/hm/sils/fastfetch.nix 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; + }; + }; +} -- cgit 1.4.1