nixos-config/colord.nix

18 lines
417 B
Nix
Raw Normal View History

2015-05-27 16:52:02 +00:00
{ config, pkgs, ... }:
{
environment.systemPackages = [ pkgs.colord ];
services.dbus.packages = [ pkgs.colord ];
systemd.services.colord = {
description = "Manage, Install and Generate Color Profiles";
serviceConfig = {
Type = "dbus";
BusName = "org.freedesktop.ColorManager";
ExecStart = "${pkgs.colord}/libexec/colord";
User = "root";
PrivateTmp = "yes";
};
};
}