nixpkgs-suyu/modules/system/upstart-events/ctrl-alt-delete.nix
Eelco Dolstra 278b15d840 * More moving.
svn path=/nixos/branches/modular-nixos/; revision=15725
2009-05-25 14:19:33 +00:00

20 lines
281 B
Nix

{pkgs, config, ...}:
###### implementation
{
services = {
extraJobs = [{
name = "ctrl-alt-delete";
job = ''
on ctrlaltdel
script
shutdown -r now 'Ctrl-Alt-Delete pressed'
end script
'';
}];
};
}