about summary refs log tree commit diff
path: root/nixos/modules/programs/xfconf.nix
blob: 8e854b40e513d1056790aff83c3ee89f657103c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ config, lib, pkgs, ... }:

with lib;

let cfg = config.programs.xfconf;

in {
  meta = {
    maintainers = teams.xfce.members;
  };

  options = {
    programs.xfconf = {
      enable = mkEnableOption "Xfconf, the Xfce configuration storage system";
    };
  };

  config = mkIf cfg.enable {
    environment.systemPackages = [
      pkgs.xfce.xfconf
    ];

    services.dbus.packages = [
      pkgs.xfce.xfconf
    ];
  };
}