Do not install chromium or catt on neelix.

This commit is contained in:
Tom Alexander
2025-01-23 19:04:19 -05:00
parent 0598c796b7
commit 0e370c0d62
3 changed files with 73 additions and 41 deletions

View File

@@ -8,7 +8,24 @@
{
imports = [ ];
environment.systemPackages = with pkgs; [
catt
];
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 {
})
]
);
}