2021-09-18 15:05:07 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
meta = {
|
|
|
|
maintainers = teams.pantheon.members;
|
|
|
|
};
|
|
|
|
|
|
|
|
###### interface
|
|
|
|
options = {
|
2022-08-28 20:18:44 +01:00
|
|
|
programs.pantheon-tweaks.enable = mkEnableOption (lib.mdDoc "Pantheon Tweaks, an unofficial system settings panel for Pantheon");
|
2021-09-18 15:05:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.programs.pantheon-tweaks.enable {
|
|
|
|
services.xserver.desktopManager.pantheon.extraSwitchboardPlugs = [ pkgs.pantheon-tweaks ];
|
|
|
|
};
|
|
|
|
}
|