5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
12 lines
311 B
Nix
12 lines
311 B
Nix
{ lib, pkgs, config, ... }:
|
|
let
|
|
cfg = config.programs.kclock;
|
|
kclockPkg = pkgs.libsForQt5.kclock;
|
|
in {
|
|
options.programs.kclock = { enable = lib.mkEnableOption "KClock"; };
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.dbus.packages = [ kclockPkg ];
|
|
environment.systemPackages = [ kclockPkg ];
|
|
};
|
|
}
|