mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
20 lines
445 B
Nix
20 lines
445 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
meta = {
|
|
maintainers = teams.pantheon.members;
|
|
};
|
|
|
|
###### interface
|
|
options = {
|
|
programs.pantheon-tweaks.enable = mkEnableOption "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 ];
|
|
};
|
|
}
|