2022-03-05 11:38:36 +00:00
|
|
|
{ lib, pkgs, config, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.programs.kclock;
|
|
|
|
kclockPkg = pkgs.libsForQt5.kclock;
|
|
|
|
in {
|
2022-11-09 21:45:00 +00:00
|
|
|
options.programs.kclock = { enable = mkEnableOption (lib.mdDoc "KClock"); };
|
2022-03-05 11:38:36 +00:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
services.dbus.packages = [ kclockPkg ];
|
|
|
|
environment.systemPackages = [ kclockPkg ];
|
|
|
|
};
|
|
|
|
}
|