nixpkgs/upstart-jobs/ctrl-alt-delete.nix

21 lines
281 B
Nix
Raw Normal View History

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