23 lines
345 B
Nix
23 lines
345 B
Nix
|
{ config, lib, ... }:
|
||
|
with lib;
|
||
|
let
|
||
|
themeType = types.submodule {
|
||
|
options = {
|
||
|
i3Theme = mkOption {
|
||
|
type = import ./i3.nix { inherit lib; };
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
in
|
||
|
{
|
||
|
options.my.home = {
|
||
|
theme = mkOption {
|
||
|
type = themeType;
|
||
|
};
|
||
|
|
||
|
themes = mkOption {
|
||
|
type = with types; attrsOf themeType;
|
||
|
};
|
||
|
};
|
||
|
}
|