nixpkgs/nixos/modules/services/desktops/pantheon/files.nix
2019-03-24 07:04:28 -04:00

39 lines
503 B
Nix

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