2025-01-19 13:44:01 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ];
|
|
|
|
|
2025-01-23 19:04:19 -05:00
|
|
|
options.me = {
|
|
|
|
chromecast.enable = lib.mkOption {
|
|
|
|
type = lib.types.bool;
|
|
|
|
default = false;
|
|
|
|
example = true;
|
|
|
|
description = "Whether we want to install chromecast.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf config.me.chromecast.enable (
|
|
|
|
lib.mkMerge [
|
|
|
|
{
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
catt
|
|
|
|
];
|
|
|
|
}
|
|
|
|
(lib.mkIf config.me.graphical {
|
|
|
|
})
|
|
|
|
]
|
|
|
|
);
|
2025-01-19 13:44:01 -05:00
|
|
|
}
|