summary refs log tree commit diff
path: root/nixos/modules/services/desktops/pantheon/files.nix
blob: 577aad6c29872918246746b84595fad8c1a15a34 (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
28
29
30
31
32
33
34
35
36
37
38
# pantheon files daemon.

{ config, pkgs, lib, ... }:

with lib;

{

  meta.maintainers = pkgs.pantheon.maintainers;

  ###### interface

  options = {

    services.pantheon.files = {

      enable = mkEnableOption "pantheon files daemon";

    };

  };


  ###### implementation

  config = mkIf config.services.pantheon.files.enable {

    environment.systemPackages = [
      pkgs.pantheon.elementary-files
    ];

    services.dbus.packages = [
      pkgs.pantheon.elementary-files
    ];

  };

}