Add an empty kodi role.

This commit is contained in:
Tom Alexander 2025-01-20 19:40:54 -05:00
parent ccbc999744
commit 9d49eb9d6a
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
4 changed files with 59 additions and 2 deletions

View File

@ -56,6 +56,7 @@
./roles/vnc_client ./roles/vnc_client
./roles/chromecast ./roles/chromecast
./roles/memtest86 ./roles/memtest86
./roles/kodi
]; ];
nix.settings.experimental-features = [ nix.settings.experimental-features = [

View File

@ -8,6 +8,23 @@
{ {
imports = [ ]; imports = [ ];
options.me = {
blank.enabled = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install blank.";
};
};
config = lib.mkIf config.me.blank.enabled (
lib.mkMerge [
{
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
]; ];
}
(lib.mkIf config.me.graphical {
})
]
);
} }

View File

@ -0,0 +1,30 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
kodi.enabled = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install kodi.";
};
};
config = lib.mkIf config.me.kodi.enabled (
lib.mkMerge [
{
environment.systemPackages = with pkgs; [
];
}
(lib.mkIf config.me.graphical {
})
]
);
}

View File

@ -266,6 +266,15 @@ in
./notification.nix ./notification.nix
]; ];
options.me = {
sway.enabled = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install sway.";
};
};
options.me.swayIncludes = lib.mkOption { options.me.swayIncludes = lib.mkOption {
type = lib.types.listOf lib.types.package; type = lib.types.listOf lib.types.package;
default = [ ]; default = [ ];