summary refs log blame commit diff
path: root/nixos/modules/programs/pantheon-tweaks.nix
blob: 82f93619db158c592bca9375044619145e9d400c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                         
                                                                                                                                     






                                                                                              
{ 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 ];
  };
}