20 lines
457 B
Nix
20 lines
457 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
meta = {
|
||
|
maintainers = teams.pantheon.members;
|
||
|
};
|
||
|
|
||
|
###### interface
|
||
|
options = {
|
||
|
programs.pantheon-tweaks.enable = mkEnableOption (lib.mdDoc "Pantheon Tweaks, an unofficial system settings panel for Pantheon");
|
||
|
};
|
||
|
|
||
|
###### implementation
|
||
|
config = mkIf config.programs.pantheon-tweaks.enable {
|
||
|
services.xserver.desktopManager.pantheon.extraSwitchboardPlugs = [ pkgs.pantheon-tweaks ];
|
||
|
};
|
||
|
}
|