From a9b8634f989b2f603e828e085a60bceaecb08c42 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 13 Oct 2024 15:01:14 +0200 Subject: [PATCH] Nixos: Add empty color HM module --- home/modules/color/default.nix | 14 ++++++++++++++ home/modules/color/options.nix | 13 +++++++++++++ home/modules/default.nix | 1 + 3 files changed, 28 insertions(+) create mode 100644 home/modules/color/default.nix create mode 100644 home/modules/color/options.nix diff --git a/home/modules/color/default.nix b/home/modules/color/default.nix new file mode 100644 index 00000000..e2c1c4d3 --- /dev/null +++ b/home/modules/color/default.nix @@ -0,0 +1,14 @@ +{ + config, + lib, + mylib, + ... +}: +with lib; +with mylib.modules; let + cfg = config.modules.color; +in { + options.modules.color = import ./options.nix {inherit lib mylib;}; + + config = {}; +} diff --git a/home/modules/color/options.nix b/home/modules/color/options.nix new file mode 100644 index 00000000..65ff0a32 --- /dev/null +++ b/home/modules/color/options.nix @@ -0,0 +1,13 @@ +{ + lib, + mylib, + ... +}: +with lib; +with mylib.modules; { + scheme = mkOption { + type = types.str; + description = "The color scheme to use"; + example = "catppuccin-latte"; + }; +} diff --git a/home/modules/default.nix b/home/modules/default.nix index 9566f68c..d8f894ff 100644 --- a/home/modules/default.nix +++ b/home/modules/default.nix @@ -4,6 +4,7 @@ # My own HM modules ./chromium + ./color ./firefox ./fish ./hyprland