30 lines
594 B
Nix
30 lines
594 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.my.home.firefox = with lib; {
|
|
enable = mkEnableOption "firefox configuration";
|
|
|
|
tridactyl = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
description = "tridactyl configuration";
|
|
example = false;
|
|
default = config.my.home.firefox.enable;
|
|
};
|
|
};
|
|
|
|
ff2mpv = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
description = "ff2mpv configuration";
|
|
example = false;
|
|
default = config.my.home.mpv.enable;
|
|
};
|
|
};
|
|
};
|
|
|
|
imports = [
|
|
./firefox.nix
|
|
./tridactyl.nix
|
|
];
|
|
}
|