ckb, ckb module: rename to ckb-next
The upstream package has officially changed its name to ckb-next.
This commit is contained in:
parent
8069b09d05
commit
81178785c9
@ -137,6 +137,13 @@
|
|||||||
make sure to update your configuration if you want to keep <literal>proglodyte-wasm</literal>
|
make sure to update your configuration if you want to keep <literal>proglodyte-wasm</literal>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Package <literal>ckb</literal> is renamed to <literal>ckb-next</literal>,
|
||||||
|
and options <literal>hardware.ckb.*</literal> are renamed to
|
||||||
|
<literal>hardware.ckb-next.*</literal>.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -3,17 +3,22 @@
|
|||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.hardware.ckb;
|
cfg = config.hardware.ckb-next;
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.hardware.ckb = {
|
imports = [
|
||||||
|
(mkRenamedOptionModule ["hardware" "ckb" "enable"] ["hardware" "ckb-next" "enable"])
|
||||||
|
(mkRenamedOptionModule ["hardware" "ckb" "package"] ["hardware" "ckb-next" "package"])
|
||||||
|
];
|
||||||
|
|
||||||
|
options.hardware.ckb-next = {
|
||||||
enable = mkEnableOption "the Corsair keyboard/mouse driver";
|
enable = mkEnableOption "the Corsair keyboard/mouse driver";
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = pkgs.ckb;
|
default = pkgs.ckb-next;
|
||||||
defaultText = "pkgs.ckb";
|
defaultText = "pkgs.ckb-next";
|
||||||
description = ''
|
description = ''
|
||||||
The package implementing the Corsair keyboard/mouse driver.
|
The package implementing the Corsair keyboard/mouse driver.
|
||||||
'';
|
'';
|
||||||
@ -23,7 +28,7 @@ in
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = [ cfg.package ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
|
|
||||||
systemd.services.ckb = {
|
systemd.services.ckb-next = {
|
||||||
description = "Corsair Keyboards and Mice Daemon";
|
description = "Corsair Keyboards and Mice Daemon";
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
script = "${cfg.package}/bin/ckb-next-daemon";
|
script = "${cfg.package}/bin/ckb-next-daemon";
|
@ -34,7 +34,7 @@
|
|||||||
./config/zram.nix
|
./config/zram.nix
|
||||||
./hardware/all-firmware.nix
|
./hardware/all-firmware.nix
|
||||||
./hardware/brightnessctl.nix
|
./hardware/brightnessctl.nix
|
||||||
./hardware/ckb.nix
|
./hardware/ckb-next.nix
|
||||||
./hardware/cpu/amd-microcode.nix
|
./hardware/cpu/amd-microcode.nix
|
||||||
./hardware/cpu/intel-microcode.nix
|
./hardware/cpu/intel-microcode.nix
|
||||||
./hardware/digitalbitbox.nix
|
./hardware/digitalbitbox.nix
|
||||||
|
@ -59,6 +59,7 @@ mapAliases ({
|
|||||||
cantarell_fonts = cantarell-fonts; # added 2018-03-03
|
cantarell_fonts = cantarell-fonts; # added 2018-03-03
|
||||||
checkbashism = checkbashisms; # added 2016-08-16
|
checkbashism = checkbashisms; # added 2016-08-16
|
||||||
cifs_utils = cifs-utils; # added 2016-08
|
cifs_utils = cifs-utils; # added 2016-08
|
||||||
|
ckb = ckb-next; # added 2018-10-21
|
||||||
clangAnalyzer = clang-analyzer; # added 2015-02-20
|
clangAnalyzer = clang-analyzer; # added 2015-02-20
|
||||||
clawsMail = claws-mail; # added 2016-04-29
|
clawsMail = claws-mail; # added 2016-04-29
|
||||||
clutter_gtk = clutter-gtk; # added 2018-02-25
|
clutter_gtk = clutter-gtk; # added 2018-02-25
|
||||||
|
@ -1987,7 +1987,7 @@ with pkgs;
|
|||||||
|
|
||||||
checkbashisms = callPackage ../development/tools/misc/checkbashisms { };
|
checkbashisms = callPackage ../development/tools/misc/checkbashisms { };
|
||||||
|
|
||||||
ckb = libsForQt5.callPackage ../tools/misc/ckb { };
|
ckb-next = libsForQt5.callPackage ../tools/misc/ckb-next { };
|
||||||
|
|
||||||
clamav = callPackage ../tools/security/clamav { };
|
clamav = callPackage ../tools/security/clamav { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user