nixpkgs/upstart-jobs/ctrl-alt-delete.nix
Marc Weber 76f7978cc6 Convert "ctrl-alt-delete"
svn path=/nixos/branches/fix-style/; revision=14406
2009-03-06 12:27:45 +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
'';
}];
};
}