mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
Merge pull request #158015 from j0hax/kclockd-integration
This commit is contained in:
commit
652aa6df2c
@ -169,6 +169,7 @@
|
||||
./programs/iotop.nix
|
||||
./programs/java.nix
|
||||
./programs/k40-whisperer.nix
|
||||
./programs/kclock.nix
|
||||
./programs/kdeconnect.nix
|
||||
./programs/kbdlight.nix
|
||||
./programs/less.nix
|
||||
|
13
nixos/modules/programs/kclock.nix
Normal file
13
nixos/modules/programs/kclock.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ lib, pkgs, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.programs.kclock;
|
||||
kclockPkg = pkgs.libsForQt5.kclock;
|
||||
in {
|
||||
options.programs.kclock = { enable = mkEnableOption "Enable KClock"; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.dbus.packages = [ kclockPkg ];
|
||||
environment.systemPackages = [ kclockPkg ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user