1 { config, lib, pkgs, ... }:
4 cfg = config.programs.partition-manager;
6 meta.maintainers = [ lib.maintainers.oxalica ];
9 programs.partition-manager = {
10 enable = lib.mkEnableOption "KDE Partition Manager";
12 package = lib.mkPackageOption pkgs [ "libsForQt5" "partitionmanager" ] { };
16 config = lib.mkIf config.programs.partition-manager.enable {
17 services.dbus.packages = [ cfg.package.kpmcore ];
18 # `kpmcore` need to be installed to pull in polkit actions.
19 environment.systemPackages = [ cfg.package.kpmcore cfg.package ];