1 { lib, pkgs, config, ... }:
3 cfg = config.programs.kclock;
4 kclockPkg = pkgs.libsForQt5.kclock;
6 options.programs.kclock = { enable = lib.mkEnableOption "KClock"; };
8 config = lib.mkIf cfg.enable {
9 services.dbus.packages = [ kclockPkg ];
10 environment.systemPackages = [ kclockPkg ];