mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 18:12:34 +09:00
streamcontroller module: Add kdotools when using plasma
Update nixos/modules/programs/streamcontroller.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
2096eeca7b
commit
eea56c4c08
1 changed files with 8 additions and 1 deletions
|
@ -10,7 +10,14 @@ in
|
||||||
{
|
{
|
||||||
options.programs.streamcontroller = {
|
options.programs.streamcontroller = {
|
||||||
enable = lib.mkEnableOption "StreamController";
|
enable = lib.mkEnableOption "StreamController";
|
||||||
package = lib.mkPackageOption pkgs "streamcontroller" { default = [ "streamcontroller" ]; };
|
package = lib.mkOption {
|
||||||
|
default = pkgs.streamcontroller.override { isKde = config.services.desktopManager.plasma6.enable; };
|
||||||
|
defaultText = lib.literalExpression "pkgs.streamcontroller";
|
||||||
|
type = lib.types.package;
|
||||||
|
description = ''
|
||||||
|
The StreamController package to use
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue