2009-08-17 02:16:38 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
with pkgs.lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
config = {
|
|
|
|
|
2009-09-25 21:12:35 +01:00
|
|
|
environment.systemPackages = [ pkgs.consolekit ];
|
2009-08-17 02:16:38 +01:00
|
|
|
|
2009-09-25 21:12:35 +01:00
|
|
|
services.dbus.packages = [ pkgs.consolekit ];
|
2009-08-17 02:16:38 +01:00
|
|
|
|
|
|
|
environment.etc = singleton
|
|
|
|
{ source = (pkgs.buildEnv {
|
2009-09-25 21:12:35 +01:00
|
|
|
name = "consolekit-config";
|
2009-08-17 02:16:38 +01:00
|
|
|
pathsToLink = [ "/etc/ConsoleKit" ];
|
2009-09-25 21:12:35 +01:00
|
|
|
paths = [ pkgs.consolekit pkgs.udev ];
|
2009-08-17 02:16:38 +01:00
|
|
|
}) + "/etc/ConsoleKit";
|
|
|
|
target = "ConsoleKit";
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|