2009-03-06 12:27:45 +00:00
|
|
|
{pkgs, config, ...}:
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
2006-11-24 00:34:50 +00:00
|
|
|
{
|
|
|
|
|
2009-03-06 12:27:45 +00:00
|
|
|
services = {
|
|
|
|
extraJobs = [{
|
|
|
|
name = "ctrl-alt-delete";
|
|
|
|
|
|
|
|
job = ''
|
|
|
|
on ctrlaltdel
|
|
|
|
|
|
|
|
script
|
|
|
|
shutdown -r now 'Ctrl-Alt-Delete pressed'
|
|
|
|
end script
|
|
|
|
'';
|
|
|
|
}];
|
|
|
|
};
|
2006-11-24 00:34:50 +00:00
|
|
|
}
|