nixpkgs/nixos/modules/programs/kclock.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
311 B
Nix
Raw Normal View History

2022-03-05 12:38:36 +01:00
{ lib, pkgs, config, ... }:
let
cfg = config.programs.kclock;
kclockPkg = pkgs.libsForQt5.kclock;
in {
options.programs.kclock = { enable = lib.mkEnableOption "KClock"; };
2022-03-05 12:38:36 +01:00
config = lib.mkIf cfg.enable {
2022-03-05 12:38:36 +01:00
services.dbus.packages = [ kclockPkg ];
environment.systemPackages = [ kclockPkg ];
};
}