nixpkgs/modules/system/upstart-events/ctrl-alt-delete.nix
Eelco Dolstra eba8f94069 * jobAttrs -> jobs.
svn path=/nixos/trunk/; revision=17769
2009-10-12 18:09:34 +00:00

19 lines
257 B
Nix

{ config, pkgs, ... }:
###### implementation
{
jobs.ctrl_alt_delete =
{ name = "ctrl-alt-delete";
startOn = "ctrlaltdel";
task = true;
script =
''
shutdown -r now 'Ctrl-Alt-Delete pressed'
'';
};
}