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