parent
2e024cb867
commit
bb0bc3c1f8
@ -0,0 +1,19 @@ |
||||
{ config, lib, pkgs, ... }: |
||||
|
||||
with lib; |
||||
|
||||
{ |
||||
meta.maintainers = [ maintainers.oxalica ]; |
||||
|
||||
###### interface |
||||
options = { |
||||
programs.partition-manager.enable = mkEnableOption "KDE Partition Manager"; |
||||
}; |
||||
|
||||
###### implementation |
||||
config = mkIf config.programs.partition-manager.enable { |
||||
services.dbus.packages = [ pkgs.libsForQt5.kpmcore ]; |
||||
# `kpmcore` need to be installed to pull in polkit actions. |
||||
environment.systemPackages = [ pkgs.libsForQt5.kpmcore pkgs.partition-manager ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue