mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
39 lines
503 B
Nix
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
|
|
];
|
|
|
|
};
|
|
|
|
}
|