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
|
||||
./chromium
|
||||
./color
|
||||
./firefox
|
||||
./fish
|
||||
./hyprland
|
||||
|
Reference in New Issue
Block a user