home: themes: setup theme types for i3
This commit is contained in:
parent
0cdb05ecf1
commit
8dff0e21e1
4 changed files with 215 additions and 0 deletions
22
home/themes/default.nix
Normal file
22
home/themes/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue