summaryrefslogtreecommitdiffstats
path: root/nixos/modules/programs/xfconf.nix
blob: 74a05cc1a79825f4067ae3ab280b0ec9f38063ec (plain)
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
28
29
30
31
32
{
  config,
  lib,
  pkgs,
  ...
}:

let
  cfg = config.programs.xfconf;

in
{
  meta = {
    teams = [ lib.teams.xfce ];
  };

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

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

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