Nixos: Add empty color HM module
This commit is contained in:
14
home/modules/color/default.nix
Normal file
14
home/modules/color/default.nix
Normal file
@ -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 = {};
|
||||||
|
}
|
13
home/modules/color/options.nix
Normal file
13
home/modules/color/options.nix
Normal file
@ -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";
|
||||||
|
};
|
||||||
|
}
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
# My own HM modules
|
# My own HM modules
|
||||||
./chromium
|
./chromium
|
||||||
|
./color
|
||||||
./firefox
|
./firefox
|
||||||
./fish
|
./fish
|
||||||
./hyprland
|
./hyprland
|
||||||
|
Reference in New Issue
Block a user